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-08, 00:39:35

Author Topic: kloxo Mr with nginx , where to put nginx rewrite rules  (Read 2533 times)

0 Members and 1 Guest are viewing this topic.

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Hey there,

I decieded to change web server from apache to nginx but one question is when I convert rewrite rules existed on apache htaccess file , where should i apply them on nginx ?

I mean in what file I should put the converted codes ?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo Mr with nginx , where to put nginx rewrite rules
« Reply #1 on: 2014-01-13, 06:29:04 »
Better in custom.proxy.conf (if using nginx-proxy) and custom.php-fpm.conf (if using proxy alone).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: kloxo Mr with nginx , where to put nginx rewrite rules
« Reply #2 on: 2014-01-14, 16:32:33 »
I can't find any of these files ,

whereis custom.proxy.conf
I am using nginx and not nginx-proxy

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo Mr with nginx , where to put nginx rewrite rules
« Reply #3 on: 2014-01-14, 17:38:47 »
In Kloxo-MR 'rule', every files (except in defaults, domains and webmails), Kloxo-MR will choose their 'custom' file instead their 'original' files. So, Kloxo-MR will read/process (with running 'sh /script/fixweb' in webserver context) custom.php-fpm.conf instead php-fpm.conf. What's is 'custom' files?. This file is copy of 'original' files and we can modified it.

Every 'original' files possible overwrite Kloxo-MR in KLoxo-MR update process.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ebokalsel

  • Junior Member
  • *
  • Posts: 41
  • Karma: +1/-0
    • View Profile
Re: kloxo Mr with nginx , where to put nginx rewrite rules
« Reply #4 on: 2014-01-15, 13:45:17 »
I can't find any of these files ,

whereis custom.proxy.conf
I am using nginx and not nginx-proxy

in /home/nginx/conf/globals/php-fpm.conf (for pure nginx), copy the file to custom.php-fpm.conf and run sh /script/fixweb first.

 


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