Merge pull request #35 from linuxserver/http2-readme

Update http2 config
This commit is contained in:
Adam 2024-05-29 14:49:52 +01:00 committed by GitHub
commit 4aa47b8ec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -44,6 +44,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "27.05.24:", desc: "Existing users should update their nginx confs 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;
@ -8,11 +8,8 @@ map $sent_http_content_type $expires {
}
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
listen *:80 default_server;
listen *:443 ssl default_server;
server_name _;