19 lines
492 B
Django/Jinja
19 lines
492 B
Django/Jinja
server {
|
|
server_name www.{{ my_domain }};
|
|
root /opt/nginx/www.linuxtechwhiz.info;
|
|
|
|
location / {
|
|
index index.html index.htm index.php;
|
|
}
|
|
|
|
access_log /var/log/nginx/www.linuxtechwhiz.info.access.log;
|
|
error_log /var/log/nginx/www.linuxtechwhiz.info.error.log;
|
|
|
|
location ~ \.php$ {
|
|
include /etc/nginx/fastcgi_params;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
}
|