diff options
Diffstat (limited to 'quietreading.conf')
-rw-r--r-- | quietreading.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/quietreading.conf b/quietreading.conf new file mode 100644 index 0000000..5bb321d --- /dev/null +++ b/quietreading.conf @@ -0,0 +1,30 @@ +daemon off; +error_log /home/sy/code/logs/error.log; +pid /home/sy/code/logs/nginx.pid; + +events {} +http { + include /etc/nginx/mime.types; + proxy_temp_path /home/sy/code/logs; + client_body_temp_path /home/sy/code/nginx/files; + default_type application/octet-stream; + server { + access_log /home/sy/code/logs/quietreading-access.log; + + location / { + root /home/sy/code/site/quietreading; + } + + location /about { + default_type "text/html"; + alias /home/sy/code/site/quietreading/about.html; + } + + error_page 404 /404.html; + location = /404.html { + root /home/sy/code/site/quietreading; + } + + listen 9080; + } +} |