Update http2 config

This commit is contained in:
thespad 2024-05-28 19:50:24 +01:00
parent 3a9c5990fa
commit dc1c33b20c
No known key found for this signature in database
GPG Key ID: 08F06191F4587860
2 changed files with 6 additions and 3 deletions

View File

@ -44,6 +44,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "27.05.24:", desc: "Existing users should update: site-confs/default.conf to avoid http2 deprecation warnings." }
- { date: "24.05.24:", desc: "Rebase to Alpine 3.20." }
- { date: "28.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3." }
- { date: "25.12.23:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }

View File

@ -1,4 +1,4 @@
## Version 2023/12/25 - Changelog: https://github.com/linuxserver/docker-phpmyadmin/commits/main/root/defaults/nginx/site-confs/default.conf.sample
## Version 2024/05/27 - Changelog: https://github.com/linuxserver/docker-phpmyadmin/commits/main/root/defaults/nginx/site-confs/default.conf.sample
map $sent_http_content_type $expires {
default off;
@ -11,8 +11,10 @@ server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
http2 on;
server_name _;