US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Feedback & Feature Requests

Notices

Closed Thread
 
Thread Tools
Old 09-03-2009, 05:23 AM   #1
Junior Member
 
Join Date: Aug 2009
Posts: 8
ryan14 is on a distinguished road
Arrow Choose between Apache/Lighttpd/Nginx

isp manager pro should have a feature when we can set the default web server we want to use. So if we choose Nginx, then Apache will be completely disabled and only Nginx will be running.

You should have 3 options: Apache/Lighttpd/Nginx

All of isp manager pro's features should work 100% correctly on any of the 3 web servers.
ryan14 is offline  
Old 09-03-2009, 03:33 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

ISPmanager works with Apache server. It is possible to install Nginx as front-end for proxying http requests.
Other configurations are not supported.

Last edited by tanya; 09-04-2009 at 03:47 AM.
slava is offline  
Old 09-06-2009, 06:20 AM   #3
Junior Member
 
Join Date: Aug 2009
Posts: 8
ryan14 is on a distinguished road
Default

My feature request is to allow ISPmanager to work WITHOUT Apache server. So people can choose Apache or Nginx.

Quote:
Originally Posted by slava View Post
ISPmanager works with Apache server. It is possible to install Nginx as front-end for proxying http requests.
Other configurations are not supported.
ryan14 is offline  
Old 09-06-2009, 03:17 PM   #4
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Quote:
to allow ISPmanager to work WITHOUT Apache server
This is impossible, at least in the near future, at least it will not happen in the current major version (4.x).
slava is offline  
Old 09-16-2009, 05:11 AM   #5
Junior Member
 
Join Date: Aug 2009
Posts: 8
ryan14 is on a distinguished road
Default

by proxying http requests, do you mean static AND dynamic content? OR just static content?

Quote:
Originally Posted by slava View Post
ISPmanager works with Apache server. It is possible to install Nginx as front-end for proxying http requests.
Other configurations are not supported.
ryan14 is offline  
Old 09-16-2009, 11:27 AM   #6
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Static and dynamic content.
slava is offline  
Old 09-17-2009, 06:26 AM   #7
Junior Member
 
Join Date: Aug 2009
Posts: 8
ryan14 is on a distinguished road
Default

so what is apache used for then?

Quote:
Originally Posted by slava View Post
Static and dynamic content.
ryan14 is offline  
Old 09-17-2009, 07:11 AM   #8
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Quote:
so what is apache used for then?
1. ISPmanager core needs apache, because ispmgr runs through apache SSL port.

2. Nginx proxyng requests to apache and transfers static content, for example from nginx.conf

Code:
        server {
                listen 193.0.0.193:80;
                server_name example.com www.example.com;
                rewrite ^(/manager/.*)$ https://$host$1 permanent;
                location ~* ^/(webstat/|awstats|webmail/|myadmin/|manimg/) {
                        proxy_pass http://193.0.0.193:8080;
                        proxy_redirect http://example.com:8080/ /;
                        proxy_set_header Host $host;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                }
                location / {
                        proxy_pass http://193.0.0.193:8080;
                        proxy_redirect http://example.com:8080/ /;
                        proxy_set_header Host $host;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                }
                location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar)$ {
                        root /home/web/data/www/example.com;
                        access_log /home/httpd-logs/example.com.access.log;
                        error_page 404 = @fallback;
                }
                location @fallback {
                        proxy_pass http://193.0.0.193:8080;
                        proxy_set_header Host $host;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                }
        }

Apache back-end listen port 8080 and execute php/cgi-scripts, nginx front-end listen http port 80 and send data to web-browser and proxying request for static content files directly.

Last edited by tanya; 10-06-2009 at 05:04 AM.
slava is offline  
Old 11-16-2009, 04:26 AM   #9
ISPsystem team
 
Join Date: Jan 2009
Posts: 111
GakcaT is on a distinguished road
Default

2 Dewarregekdazy:
Create a new thread for your problem. This thread was closed.
GakcaT is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:49 AM.