Add Ipv6 support to nginx (#100)

(cherry picked from commit 0e68bcfd5a518b5cbd0bafce1fc48d31b25e1fa1)
This commit is contained in:
Nikola Sivkov v2 2023-01-26 22:57:52 +02:00 committed by kolaente
parent 2a15878b81
commit 7eb07e92f8
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -76,7 +76,9 @@ http {
server {
listen 80;
listen [::]:80;
listen 81 default_server http2 proxy_protocol; ## Needed when behind HAProxy with SSL termination + HTTP/2 support
listen [::]:81 default_server http2 proxy_protocol; ## Needed when behind HAProxy with SSL termination + HTTP/2 support
server_name _;