diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-22 07:27:05 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-22 07:27:05 +0000 |
commit | f40a288b52b0a00618c54e94d27711d88d0b0042 (patch) | |
tree | f824aac9e95aea5ef832b0af5c5f8b8ff1932e64 /etc | |
parent | ff1e2ef7537691ffb3ed14f73d448349de41c896 (diff) |
nginx enable http2
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx/nginx.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index dddc94a8..d5d4c302 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -41,6 +41,8 @@ http { # https://nginx.org/en/docs/http/server_names.html types_hash_max_size 4096; + http2 on; + server { listen 80; # needed for ipv6 |