Cleaned up nginx conf.
This commit is contained in:
parent
f640f6aa59
commit
44fa02ba16
1 changed files with 1 additions and 7 deletions
|
|
@ -5,19 +5,13 @@ server {
|
|||
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
root /usr/share/nginx/public;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/public;
|
||||
index index.html;
|
||||
ssi on;
|
||||
try_files $uri $uri/ $uri.html =404;
|
||||
}
|
||||
|
||||
# location /includes/ {
|
||||
# deny all;
|
||||
# return 404;
|
||||
# }
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
root /usr/share/nginx/public;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue