-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update nginx configurations #12076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nginx configurations #12076
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -48,8 +48,9 @@ map $request_uri $probably_requires_referer { | |||||
| # Keep in sync with covers_nginx.conf | ||||||
| server { | ||||||
| listen 80 default; | ||||||
| listen [::]:443 ssl http2 ipv6only=on; | ||||||
| listen 443 ssl http2; | ||||||
| listen [::]:443 ssl ipv6only=on; | ||||||
| listen 443 ssl; | ||||||
| http2 on; | ||||||
| server_name localhost; | ||||||
|
||||||
| server_name localhost; | |
| server_name localhost openlibrary.org www.openlibrary.org; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http2 on;is only set in theserver_name localhostblock. Thecovers.openlibrary.orgserver block below appears to be the primary vhost, and it does not enable HTTP/2; this may inadvertently disable HTTP/2 for that domain. Consider enabling HTTP/2 for thecovers.openlibrary.orgvhost as well (or otherwise applying the setting across all HTTPS vhosts on :443).