Skip to content
Snippets Groups Projects
Commit 1cfa80b0 authored by nimrod's avatar nimrod
Browse files

Nginx: Update the http2 directive.

It's no longer a part of the listen directive but a standalone one.
parent 67bf7923
No related branches found
No related tags found
No related merge requests found
Pipeline #3646 passed
...@@ -7,8 +7,9 @@ server { ...@@ -7,8 +7,9 @@ server {
} }
server { server {
listen 443 ssl http2 default_server; listen 443 ssl default_server;
listen [::]:443 ssl http2 default_server; listen [::]:443 ssl default_server;
http2 on;
include snippets/ssl-legacy.conf; include snippets/ssl-legacy.conf;
location / { return 301 https://www.shore.co.il$request_uri; } location / { return 301 https://www.shore.co.il$request_uri; }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment