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