diff options
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..6f59193 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,20 @@ +server { + listen 80; + server_name schererleander.com; + + root /usr/share/nginx/html; + + location /404.hml { + internal; + } + + error_page 404 /404.html; + + location ~* \.(css|js)$ { + root /usr/share/nginx/html; + try_files $uri =404; + access_log off; + expires max; + } + +} |
