Set http2 at http level

Ref: https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/167

Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
Eric Nemchik 2024-05-29 08:17:43 -05:00
commit 4f72dd58bd
No known key found for this signature in database
229 changed files with 467 additions and 699 deletions

View file

@ -1,12 +1,11 @@
## Version 2023/05/31
## Version 2024/05/29
# make sure you set the following environment variables in your docker arguments
# CMD_DOMAIN=hedgedoc.server.com
# CMD_URL_ADDPORT=false
# CMD_PROTOCOL_USESSL=true
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen *:443 ssl;
server_name hedgedoc.*;