From: Sarah Hoffmann Date: Mon, 17 Jan 2022 14:53:24 +0000 (+0100) Subject: nominatim: remove extra listen options in nginx config X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/fa2ffc4b6ec0b9572dac9470bcfb474894b8a722 nominatim: remove extra listen options in nginx config --- diff --git a/cookbooks/nominatim/templates/default/nginx-qa-tiles.erb b/cookbooks/nominatim/templates/default/nginx-qa-tiles.erb index 24a9728f3..7dbd605e8 100644 --- a/cookbooks/nominatim/templates/default/nginx-qa-tiles.erb +++ b/cookbooks/nominatim/templates/default/nginx-qa-tiles.erb @@ -2,8 +2,8 @@ server { listen 80; listen [::]:80; - listen 443 ssl deferred backlog=16384 reuseport http2; - listen [::]:443 ssl deferred backlog=16384 reuseport http2; + listen 443 ssl http2; + listen [::]:443 ssl http2; ssl_certificate /etc/ssl/certs/qa-tile.nominatim.openstreetmap.org.pem; ssl_certificate_key /etc/ssl/private/qa-tile.nominatim.openstreetmap.org.key; diff --git a/cookbooks/nominatim/templates/default/nginx.erb b/cookbooks/nominatim/templates/default/nginx.erb index 941051d95..a141b3632 100644 --- a/cookbooks/nominatim/templates/default/nginx.erb +++ b/cookbooks/nominatim/templates/default/nginx.erb @@ -128,9 +128,9 @@ server { server { # IPv4 - listen 443 ssl deferred backlog=16384 reuseport http2 default_server; + listen 443 ssl http2 default_server; # IPv6 - listen [::]:443 ssl deferred backlog=16384 reuseport http2 default_server; + listen [::]:443 ssl http2 default_server; server_name localhost; ssl_certificate /etc/ssl/certs/<%= node[:fqdn] %>.pem;