Hi all,<div><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">how to</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">configure</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">nginx.conf, sites-available and sites-enabled</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"></span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">I</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">get</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">403 Forbidden</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">nginx/0.7.67</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"></span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">please</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">check out</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">where</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">my</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">configuration</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">errors</span></div>
<div><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"></span><b><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">I</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">nginx.conf</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span class="hps" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">following</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">:</span></b></div>
<div><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"><br></span></div><div><span style="background-color:rgb(245,245,245)"><div><font color="#333333" face="arial, sans-serif" size="3">user www-data;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">worker_processes 1;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">error_log /var/log/nginx/error.log;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">pid /var/run/nginx.pid;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">events {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> worker_connections 1024;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # multi_accept on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">}</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">http {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> include /etc/nginx/mime.types;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> access_log /var/log/nginx/access.log;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> sendfile on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #tcp_nopush on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #keepalive_timeout 0;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> keepalive_timeout 65;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> tcp_nodelay on;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> gzip on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> gzip_disable "MSIE [1-6]\.(?!.*SV1)";</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> include /etc/nginx/conf.d/*.conf;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> include /etc/nginx/sites-enabled/*;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"># mail {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># # See sample authentication script at:</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># # <a href="http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript">http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript</a></font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># # auth_http localhost/auth.php;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># # pop3_capabilities "TOP" "USER";</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># # imap_capabilities "IMAP4rev1" "UIDPLUS";</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div>
<font color="#333333" face="arial, sans-serif" size="3"># server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># listen localhost:110;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># protocol pop3;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># proxy on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># }</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># listen localhost:143;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># protocol imap;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># proxy on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># }</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># }</font></div>
<div style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px"><br></div><div style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px"><br></div><div style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px">
<b><span class="hps">The following</span> <span class="hps">sites</span><span class="">-available</span> <span class="hps">I</span> <span class="hps">have :</span></b></div><div><span class="hps"><div><font color="#333333" face="arial, sans-serif" size="3"># You may add here your</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># ...</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># }</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># statements for each of your virtual hosts</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">server {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> listen 80; ## listen for ipv4</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> server_name localhost;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> access_log /var/log/nginx/localhost.access.log;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location / {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> root /var/www;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> index index.php;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location /doc {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> root /usr/share;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> autoindex on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> allow 127.0.0.1;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> deny all;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location /images {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> root /usr/share;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> autoindex on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #error_page 404 /404.html;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # redirect server error pages to the static page /50x.html</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #error_page 500 502 503 504 /50x.html;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location = /50x.html {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> # root /var/www/nginx-default;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # proxy the PHP scripts to Apache listening on <a href="http://127.0.0.1:80">127.0.0.1:80</a></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ \.php$ {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #proxy_pass <a href="http://127.0.0.1">http://127.0.0.1</a>;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000">127.0.0.1:9000</a></font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ \.php$ {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_index index.php;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #includefastcgi_params;</font></div><div><div><font color="#333333" face="arial, sans-serif" size="3"> #} </font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # deny access to .htaccess files, if Apache's document root</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # concurs with nginx's one</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ /\.ht {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #deny all;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"># another virtual host using mix of IP-, name-, and port-based configuration</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#listen 8000;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#listen somename:8080;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#server_name somename alias another.alias;</font></div><div>
<font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">#location / {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#root html;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#index index.html index.htm;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"># HTTPS server</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div><div><font color="#333333" face="arial, sans-serif" size="3">#server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#listen 443;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#server_name localhost;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl on;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#ssl_certificate cert.pem;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_certificate_key cert.key;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_session_timeout 5m;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_protocols SSLv3 TLSv1;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_prefer_server_ciphers on;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">#location / {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#root html;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#index index.html index.htm;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div>
</div></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><b style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px"><span class="hps">The following</span> <span class="hps">sites</span><span class="">-enabled</span> <span class="hps">I</span> <span class="hps">have :</span></b></div>
<div><span class="hps"><div><font color="#333333" face="arial, sans-serif" size="3"># You may add here your</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># ...</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"># }</font></div><div><font color="#333333" face="arial, sans-serif" size="3"># statements for each of your virtual hosts</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3">server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> listen 80; ## listen for ipv4</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> server_name localhost;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> access_log /var/log/nginx/localhost.access.log;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location / {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> root /var/www;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> index index.php;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location /doc {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> root /usr/share;</font></div><div>
<font color="#333333" face="arial, sans-serif" size="3"> autoindex on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> allow 127.0.0.1;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> deny all;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> location /images {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> root /usr/share;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> autoindex on;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> }</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #error_page 404 /404.html;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # redirect server error pages to the static page /50x.html</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #error_page 500 502 503 504 /50x.html;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location = /50x.html {</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> # root /var/www/nginx-default;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # proxy the PHP scripts to Apache listening on <a href="http://127.0.0.1:80">127.0.0.1:80</a></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ \.php$ {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #proxy_pass <a href="http://127.0.0.1">http://127.0.0.1</a>;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000">127.0.0.1:9000</a></font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ \.php$ {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_index index.php;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #includefastcgi_params;</font></div><div><div><font color="#333333" face="arial, sans-serif" size="3"> #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #includefastcgi_params;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #} </font></div><div><font color="#333333" face="arial, sans-serif" size="3"> </font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> # deny access to .htaccess files, if Apache's document root</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> # concurs with nginx's one</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #location ~ /\.ht {</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> #deny all;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> #}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">}</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br>
</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3"># another virtual host using mix of IP-, name-, and port-based configuration</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#listen 8000;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#listen somename:8080;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#server_name somename alias another.alias;</font></div><div>
<font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3">#location / {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#root html;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#index index.html index.htm;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3"># HTTPS server</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#server {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#listen 443;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#server_name localhost;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl on;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#ssl_certificate cert.pem;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_certificate_key cert.key;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> </font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#ssl_session_timeout 5m;</font></div><div><font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_protocols SSLv3 TLSv1;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#ssl_prefer_server_ciphers on;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3"> </font></div><div><font color="#333333" face="arial, sans-serif" size="3">#location / {</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#root html;</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">#index index.html index.htm;</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div><div><font color="#333333" face="arial, sans-serif" size="3">#}</font></div>
<div style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px"><br></div></div></span></div></span></div></span></div>