Skip to content

Commit 04bb62f

Browse files
authored
Merge pull request #12076 from internetarchive/update-nginx-config
Update nginx configurations
2 parents eb45217 + 3fb998f commit 04bb62f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

docker/covers_nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Keep in sync with web_nginx.conf
22
server {
33
listen 80 default;
4-
listen [::]:443 ssl http2 ipv6only=on;
5-
listen 443 ssl http2;
4+
listen [::]:443 ssl ipv6only=on;
5+
listen 443 ssl;
6+
http2 on;
67
server_name localhost;
78

89
ssl_certificate /etc/letsencrypt/live/covers.openlibrary.org/fullchain.pem;

docker/web_nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ map $request_uri $probably_requires_referer {
4949
# Keep in sync with covers_nginx.conf
5050
server {
5151
listen 80 default;
52-
listen [::]:443 ssl http2 ipv6only=on;
53-
listen 443 ssl http2;
52+
listen [::]:443 ssl ipv6only=on;
53+
listen 443 ssl;
54+
http2 on;
5455
server_name localhost;
5556

5657
ssl_certificate /etc/letsencrypt/live/openlibrary.org/fullchain.pem;

0 commit comments

Comments
 (0)