MRatWork Forum by Mustafa Ramadhan - Mohon Petunjuk Tweak Custom NGINX

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 16:34:36

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Mohon Petunjuk Tweak Custom NGINX

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Mohon Petunjuk Tweak Custom NGINX (Read 1125 times)

0 Members and 1 Guest are viewing this topic.

#### zenkul

- Global Moderator
- Master
- Posts: 383
- Karma: +3/-0

##### Mohon Petunjuk Tweak Custom NGINX

« on: 2013-03-11, 10:14:37 »
Mohon Petunjuk tweak config Nginx (proxy),
Saya mengambil file config dari https://github.com/perusio
beberapa file tersebut saya tempatkan pada: "/etc/nginx"
kemudian file "nginx.conf" saya tambahkan beberapa text, hingga seperti ini
Code: [Select]

    user nginx;

    worker_processes 4;
    worker_rlimit_nofile 400000;

    pid /var/run/nginx.pid;

    events {
        worker_connections 2048;

        use epoll;
    }

    http {
        add_header Cache-Control public;

        server_names_hash_max_size 4096;
        server_names_hash_bucket_size 512;

        client_header_buffer_size 2k;

        client_max_body_size 32M;

        include '/etc/nginx/conf.d/*.conf';

        include /etc/nginx/fastcgi.conf;
        include upstream_phpcgi_tcp.conf;
        include map_block_http_methods.conf;
        include nginx_status_allowed_hosts.conf;
        include map_cache.conf;
        include fastcgi_microcache_zone.conf;
        include /etc/nginx/sites-enabled/*;
        gzip_buffers 16 8k;
        gzip_http_version 1.1;
        gzip_disable "msie6";
    }

Pertanyaan : apakah ini tidak menyalahi prosedur, atau apakah ada cara lain yang lebih tepat ?
mohon koreksi
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
easy, secure and speed up web panel ===> Kloxo-MR

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Mohon Petunjuk Tweak Custom NGINX

« Reply #1 on: 2013-03-11, 11:26:27 »
Bagian yang 'include' dan seterusnya sebagian sudah ter-declare di /home/nginx/conf/globals dan /etc/nginx/conf.d. Coba bandingkan dulu.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### zenkul

- Global Moderator
- Master
- Posts: 383
- Karma: +3/-0

##### Re: Mohon Petunjuk Tweak Custom NGINX

« Reply #2 on: 2013-03-11, 12:37:53 »
terima kasih Pak
Code: [Select]

    include '/etc/nginx/conf.d/*.conf';

"nginx.conf" include tambahan dihapus, dan file pindah ke /etc/nginx/conf.d (hanya file yg tidak ditolak)
:roll: proses memeriksa dan membandingkan
yang penting nggak error dan makin nge - boost :lol:
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
easy, secure and speed up web panel ===> Kloxo-MR

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Mohon Petunjuk Tweak Custom NGINX

MRatWork Affiliates: BIGRAF(R) Inc. House of LMAR EFARgrafix

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.035 seconds with 19 queries.

Mirror created by MasterkinG32.CoM