Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 4th January 2012, 20:31
talkingnews talkingnews is offline
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts
Default ISPC - how can I change nginx webserver port?

Question: I want to put Varnish in front of nginx, which must then listen on a different port, let's say 8084.

I've looked in the manual, I've looked through the control panel, I've tried changing the ports for that IP address, but I just don't see it.

Of course, I can manually change the port in the site.conf file, but then every single time I make another change, it puts it back again. So I have to ssh in, sudo, nano the file, save, restart nginx.... until the next time!

Can anyone suggest how this is done, please?
Reply With Quote
Sponsored Links
Old 5th January 2012, 10:13
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts

The templates for the config files are in /usr/local/ispconfig/server/conf, make a copy of the nginx template file and save it in the conf-custom directory and do the changes in that file.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
kervin (8th May 2012), talkingnews (5th January 2012)
Old 5th January 2012, 19:17
talkingnews talkingnews is offline
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts

Excellent! Thanks - that'll do nicely!
Reply With Quote


http, nginx, port

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.10 With Nginx [ISPConfig 3] port problem tbctr Installation/Configuration 12 11th December 2011 21:13
Change smtp server port? MarcoV General 4 18th December 2007 18:57
postfix courier-auth authmysql change mysql port kasper22 HOWTO-Related Questions 3 30th July 2006 14:21
smtp port change from 25 itgroup Installation/Configuration 2 2nd June 2006 00:27
Change port for ISPConfig gfts Installation/Configuration 1 12th December 2005 16:48

All times are GMT +2. The time now is 17:54.

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