View Single Post
  #1  
Old 26th November 2011, 23:21
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts
Exclamation Ubuntu 11.10, ISPConfig 3.0.4.1 needs some nginx.conf tweaks after following guide.

The guide at http://www.howtoforge.com/perfect-se...nx-ispconfig-3 is excellent and clear, as they always are.

When I came to running the site, it said "Access forbidden".

After a lot of trial, error and Reading TFM, I found that I had to alter the file
Code:
/etc/nginx/nginx.conf
At the top, I had to change

Code:
user nginx;
to

Code:
user  ispconfig;
and at the bottom of the file, I had to add the line

Code:
include /etc/nginx/sites-available/*.vhost;
just before the closing bracket. Save, then

Code:
Service nginx restart
and I'm in! Hope this helps others.

Incidentally, during the install I only saw one error:

Code:
Configuring Apps vhost
PHP Warning:  symlink(): No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 1519
Configuring Bastille Firewall
Finally, As it'll only be me using the ispconfig to manage sites I run with no other users and as I'm not going to be using any functions like sendmail, smtp, squirrelmail, pop, imap, courier etc... what can I safely turn off? I've only got a 256Mb RAM VPS and all this clam, amavisd etc is using memory.

Thanks for a great tutorial!

Last edited by talkingnews; 26th November 2011 at 23:27. Reason: clarity
Reply With Quote
Sponsored Links