docs: update nginx config example (#4640)

This commit is contained in:
Mira
2024-11-19 09:28:01 +01:00
committed by GitHub
parent a601c75923
commit 4b8416df8f
2 changed files with 4 additions and 6 deletions

View File

@@ -231,11 +231,10 @@ The following snippet is an example on how to configure a nginx proxy for pretix
}
}
server {
listen 443 default_server;
listen [::]:443 ipv6only=on default_server;
listen 443 ssl default_server;
listen [::]:443 ipv6only=on ssl default_server;
server_name pretix.mydomain.com;
ssl on;
ssl_certificate /path/to/cert.chain.pem;
ssl_certificate_key /path/to/key.pem;