Disable IPv6 support
This commit is contained in:
parent
fa4c158a28
commit
e83b47ae08
@ -4,14 +4,12 @@ client_max_body_size 512;
|
||||
|
||||
server {
|
||||
listen 80 default;
|
||||
listen [::]:80 ipv6only=on default;
|
||||
|
||||
rewrite ^ https://$host$uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ipv6only=on ssl;
|
||||
|
||||
root /var/www/fic-server/out/htdocs/;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ipv6only=on ssl;
|
||||
|
||||
ssl_certificate /var/www/fic-server/shared/server.crt;
|
||||
ssl_certificate_key /var/www/fic-server/shared/server.key;
|
||||
|
Loading…
Reference in New Issue
Block a user