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
parent d8253f3c1e
commit 4f72dd58bd
229 changed files with 467 additions and 699 deletions
+4 -5
View File
@@ -1,18 +1,15 @@
## Version 2023/05/31
## Version 2024/05/29
# make sure that your cloudbeaver container is named cloudbeaver
# make sure that your dns has a cname set for cloudbeaver
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen *:443 ssl;
server_name cloudbeaver.*;
include /config/nginx/ssl.conf;
client_max_body_size 75M;
proxy_redirect off;
proxy_buffering off;
# enable for ldap auth (requires ldap-location.conf in the location block)
#include /config/nginx/ldap-server.conf;
@@ -44,5 +41,7 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_buffering off;
proxy_redirect off;
}
}