Commit d8d62d76e4
Verified · cmc
Layout: unified · split
linux/nginx/etc/nginx/conf.d/1kb.conf added +20
| @@ -0,0 +1,20 @@ | ||
| 1 | server { | |
| 2 | listen 443 ssl http2; | |
| 3 | listen [::]:443 ssl http2; | |
| 4 | server_name 1kb.cleberg.net; | |
| 5 | ||
| 6 | root /var/www/1kb; | |
| 7 | index index.html; | |
| 8 | ||
| 9 | server_tokens off; | |
| 10 | etag off; | |
| 11 | if_modified_since off; | |
| 12 | ||
| 13 | location = / { | |
| 14 | try_files /index.html =404; | |
| 15 | } | |
| 16 | ||
| 17 | location = /index.html { | |
| 18 | try_files /index.html =404; | |
| 19 | } | |
| 20 | } | |