Configuring virual host (server block) on nginx
How to properly configure virtual host on nginx?
I have my domain pointed to my dedicated server I have configured files in /etc/nginx/sites-available/domain1.com content of domain1.com is: Code:
server { my default.conf of nginx points to root /usr/share/nginx/html I create all with root access, www folder has root ownership and group own, same /www/domain1.com folder, domain1.com has privilages drwxr-xr-x I have phpbb forums files (installed) when I enter domain1.com it displays 403 forbidden .. On apache2 it works fine Any Idea what is wrong ? why this doesnt work? |
Hi,
Quote:
Also have a look at the error.log to see what is the reason for the 403 error you get Regards |
its working now, path was set wrong thanks
|
All times are GMT -5. The time now is 09:39 AM. |