Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
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:
Click Here
Please login or register. 2024-04-28, 01:52:57

Author Topic: custom webserver entry dan edit protocol  (Read 4973 times)

0 Members and 1 Guest are viewing this topic.

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: custom webserver entry dan edit protocol
« Reply #15 on: 2015-12-08, 15:08:31 »
termasuk entry custom seperti ini juga bisa pak?
Code: [Select]
location / {
                proxy_pass http://127.0.0.1:2380;
                proxy_redirect          off;
                proxy_cache             STATIC;
                proxy_cache_valid       200 1d;
                proxy_set_header        Host            $host;
                proxy_set_header        X-Real-IP       $remote_addr;
                proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_$
        }

soalnya saya perlu untuk web yg pakai nodejs

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: custom webserver entry dan edit protocol
« Reply #16 on: 2015-12-08, 15:22:22 »
File yang .conf.tpl adalah file php sedangkan yang lain adalah bukan. Semua file (kecuali yang ada di ./defaults, ./domains dan ./proxies) jika ada file custom.* maka Kloxo-MR akan menggunakan ini daripada file asli.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: custom webserver entry dan edit protocol
« Reply #17 on: 2015-12-08, 16:16:52 »
berarti misalkan saya buat file baru , nodejs_sites.conf
di
/opt/configs/nginx/conf/globals
juga bisa ya pak?

oke saya coba

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: custom webserver entry dan edit protocol
« Reply #18 on: 2015-12-08, 16:20:53 »
berarti misalkan saya buat file baru , nodejs_sites.conf
di
/opt/configs/nginx/conf/globals
juga bisa ya pak?

oke saya coba
Tidak semua file di globals akan 'dibaca'. Jika anda inginkan file lain terbaca, anda atur di custom.domains.conf.tpl.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: custom webserver entry dan edit protocol
« Reply #19 on: 2015-12-08, 16:23:24 »
kalo kesimpulan saya pribadi
berarti metode paling aman untuk kustomisasi memang 'bermain' dengan custom.domains.conf.tpl

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: custom webserver entry dan edit protocol
« Reply #20 on: 2015-12-08, 16:27:41 »
kalo kesimpulan saya pribadi
berarti metode paling aman untuk kustomisasi memang 'bermain' dengan custom.domains.conf.tpl
Tergantung situasinya. Semua file config bisa di-custom kecuali yang ada di ./defaults, ./domains dan ./proxies.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.068 seconds with 18 queries.

web stats analysis