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-03-28, 15:15:14

Author Topic: Apache and Nginx  (Read 4944 times)

0 Members and 1 Guest are viewing this topic.

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Apache and Nginx
« on: 2013-02-19, 03:29:58 »
i have 4 ips and and want to have 2 ips with apache and one with nginx, on kloxo 6.1.*, i only modify httpd.conf " listen ip:80 " and only that ip will assign.

if i want to change apache settings what file i need to modify?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Apache and Nginx
« Reply #1 on: 2013-02-19, 17:46:55 »
i found out how to do

edit /home/apache/conf/defaults/init.conf
install nginx
edit /etc/nginx/nginx.conf

server
{
listen ip:80;
server_name static.example.com;
root /etc/nginx/html;
index index.php index.html index.htm;
}
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache and Nginx
« Reply #2 on: 2013-02-19, 18:09:36 »
Yes, it's possible because nginx use 'local/late listen' for ip and port. Different with apache and lighttpd where using 'global/early listen'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.043 seconds with 18 queries.

web stats analysis