HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How setup nginx as frontend to apache with full support for nginx ISPConfig3? (http://www.howtoforge.com/forums/showthread.php?t=55103)

beliashou 25th November 2011 15:38

How setup nginx as frontend to apache with full support for nginx ISPConfig3?
 
I'd like to setup nginx as frontend to apache. ISPConfig3 is full support for nginx. Should I use instruction like this or some new way?

In my ISPConfig3 Manual I didn't find nginx as frontend to apache.

PS; Centos 6 x64, ISPConfig 3.0.4.1

till 25th November 2011 16:20

Nginx as frontend for apache is not supported, supported are either nginx or apache. The guide you linked to does not apply to current ispconfig versions, so its likely not compatible with current ISPConfig versions.

The instructions to install ISPConfig with nginx can be found here:

http://www.howtoforge.com/perfect-se...nx-ispconfig-3

Nginx support is only tested with Ubuntu 11.10.

beliashou 26th November 2011 09:07

Oh, thanks! Our developers (user of my server) need a nginx as frontend. I have to setup it. In current version I didn't find in site template config port numbers. But I'll find it and set it up. :-)

Thank you for explination.

till 26th November 2011 11:16

The port numbers are configured in ispconfig under System > Server IP

beliashou 28th November 2011 08:45

Hmm... I had no records in System > Server IP addresses. I've only one IP for my server. It in System > Server Config >Server > IP Address. But there is no deafult port on System > Server Config > Web page.

I tryed create new record for the same IP address and port 82 on System > System IP page and set the IP on Sites -> Websites page, but nothing to change and my site answer at port 80.

till 28th November 2011 09:05

Have you configured apache to listen on port 82 instead of port 80 in the httpd.conf configuration file?

beliashou 28th November 2011 10:27

Yes. Now I set up port 82 in /etc/httpd/conf/httpd.conf, restart server, but get centos-apache test page (with 80 and 82 ports), but not my site!

till 28th November 2011 10:34

Ensure that you selected the IP address and not * in the website settings of this website in ISPConfig and that port 82 is set for this IP address under System > ServerIP and that the namevirtualhost checkbox in the IP settings is enabled.

beliashou 30th November 2011 12:14

I think it's a bug:

Add to server ip address with ports 82,445.
Add site with this ip.

# grep VirtualHost /etc/httpd/conf/sites-available/bla-bla.by.vhost
<VirtualHost xx.xx.xx.235:80>
</VirtualHost>


All times are GMT +2. The time now is 06:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.