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. 2017-11-07, 16:52:00

Author Topic: Nginx custom file  (Read 1035 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 635
  • Karma: +0/-0
    • View Profile
Nginx custom file
« on: 2015-10-14, 14:42:10 »
Hi,
i need to add  proxy_http_version 1.1 in the  location / for the reverse proxy.
How can i do it without getting removed on next update?
Thanks"
Kloxo-MR!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx custom file
« Reply #1 on: 2015-10-14, 15:36:16 »
Copy php-fpm*.conf to custom.php-fpm*.conf in /opt/configs/nginx/conf/globals (Kloxo-MR 7.0) or /home/nginx/conf/globals (Kloxo-MR 6.5) and modified this custom files. After that, run 'sh /script/fixweb; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 635
  • Karma: +0/-0
    • View Profile
Re: Nginx custom file
« Reply #2 on: 2015-10-15, 09:48:57 »
Ok. But i needed to customize the Nginx files, not FPM :)
But i found out that i need to do the same with custom.proxy_standard.conf and custom.proxy_standard_ssl.conf in /opt/configs/nginx/conf/globals and it worked fine!
Thanks a lot!
Kloxo-MR!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx custom file
« Reply #3 on: 2015-10-15, 09:58:00 »
If you select nginx standalone, nginx use php-fpm*.conf but use proxy*.conf if you select nginx-proxy. That it!.
..:: 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.038 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM