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