Skip to content

Commit

Permalink
Merge pull request #35 from linuxserver/http2-readme
Browse files Browse the repository at this point in the history
Update http2 config
  • Loading branch information
thespad authored May 29, 2024
2 parents 3a9c599 + 40e51f8 commit 4aa47b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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." }
Expand Down
9 changes: 3 additions & 6 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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 _;

Expand Down

0 comments on commit 4aa47b8

Please sign in to comment.