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.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th January 2012, 19:31
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
Default ISPC 3.0.3.1 - 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
  #2  
Old 5th January 2012, 09:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,034
Thanks: 826
Thanked 5,382 Times in 4,229 Posts
Default

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)
  #3  
Old 5th January 2012, 18:17
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
 
Default

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

Bookmarks

Tags
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 20:13
Change smtp server port? MarcoV General 4 18th December 2007 17:57
postfix courier-auth authmysql change mysql port kasper22 HOWTO-Related Questions 3 30th July 2006 13:21
smtp port change from 25 itgroup Installation/Configuration 2 1st June 2006 23:27
Change port for ISPConfig gfts Installation/Configuration 1 12th December 2005 15:48


All times are GMT +2. The time now is 02:18.


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