Disable IPv6 support

This commit is contained in:
nemunaire 2015-01-15 12:17:14 +01:00 committed by Nemunaire
parent fa4c158a28
commit e83b47ae08
2 changed files with 0 additions and 3 deletions

View File

@ -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/;

View File

@ -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;