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-27, 17:22:12

Author Topic: NGINX Plus Feature  (Read 4733 times)

0 Members and 1 Guest are viewing this topic.

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
NGINX Plus Feature
« on: 2015-06-01, 13:36:00 »
can we expect  that NGINX Plus Feature will be added in MR panel..


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: NGINX Plus Feature
« Reply #1 on: 2015-06-01, 13:56:40 »
I doesn't want to compile nginx because using nginx from nginx.org.

You can compile nginx by youself.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: NGINX Plus Feature
« Reply #2 on: 2015-06-01, 14:12:01 »
i just saw Load balancer feature in that .. any thing on Load balancer from MR as a addon

what i felt is that instead of supporting so many webservers on Mr, support 2 web servers Apache and Nginx and add features and addons willbe great

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: NGINX Plus Feature
« Reply #3 on: 2015-06-01, 14:23:19 »
Thanks.

I have no plan to compile nginx. Just enough taken from nginx.org in yum process.

As I know, 'default' nginx already include load balancer. Just need modified/custom nginx template in KLoxo-MR.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: NGINX Plus Feature
« Reply #4 on: 2015-06-01, 15:46:48 »
can it be added as plugin or feature . i have a small project to make a site up runing 24/7 with out downtimes..

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: NGINX Plus Feature
« Reply #5 on: 2015-06-01, 16:15:06 »
Copy /opt/nginx/conf/globals/php-fpm_standard.conf and php-fpm_wildcards.conf to custom.php-fpm_standard.conf and custom.php-fpm_standard.conf and then modified both of this custom file:

from:
Code: [Select]
    location ~ \.php$ {
        #include fastcgi_params;

        #fastcgi_pass                      127.0.0.1:$var_fpmport;
        fastcgi_pass                      unix:/opt/configs/php-fpm/sock/$var_user.sock;
        fastcgi_index                     index.php;

to:
Code: [Select]
    upstream loadbal01 {
        server domain1.com:80; // or their IP
        server domain2.com:80; // or their IP
    }

    location ~ \.php$ {
        #include fastcgi_params;

        fastcgi_pass                      http://loadbal01;
        #fastcgi_pass                      unix:/opt/configs/php-fpm/sock/$var_user.sock;
        fastcgi_index                     index.php;
« Last Edit: 2015-06-01, 16:19:42 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.071 seconds with 18 queries.

web stats analysis