diff options
Diffstat (limited to 'linux/nginx')
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/1kb.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/nginx/etc/nginx/conf.d/1kb.conf b/linux/nginx/etc/nginx/conf.d/1kb.conf new file mode 100644 index 0000000..c002964 --- /dev/null +++ b/linux/nginx/etc/nginx/conf.d/1kb.conf @@ -0,0 +1,20 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name 1kb.cleberg.net; + + root /var/www/1kb; + index index.html; + + server_tokens off; + etag off; + if_modified_since off; + + location = / { + try_files /index.html =404; + } + + location = /index.html { + try_files /index.html =404; + } +} |
