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