
25th November 2011, 15:38
|
|
Junior Member
|
|
Join Date: Nov 2011
Location: Minsk
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

25th November 2011, 16:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
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.
|

26th November 2011, 09:07
|
|
Junior Member
|
|
Join Date: Nov 2011
Location: Minsk
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

26th November 2011, 11:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
The port numbers are configured in ispconfig under System > Server IP
|

28th November 2011, 08:45
|
|
Junior Member
|
|
Join Date: Nov 2011
Location: Minsk
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

28th November 2011, 09:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
Have you configured apache to listen on port 82 instead of port 80 in the httpd.conf configuration file?
|

28th November 2011, 10:27
|
|
Junior Member
|
|
Join Date: Nov 2011
Location: Minsk
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

28th November 2011, 10:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
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.
|

30th November 2011, 12:14
|
|
Junior Member
|
|
Join Date: Nov 2011
Location: Minsk
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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>
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 17:32.
|
|
Recent comments
8 hours 20 min ago
17 hours 48 min ago
18 hours 37 min ago
22 hours 11 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 5 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 21 hours ago