Listen on IPv6

This commit is contained in:
Martin Mahner 2015-10-25 11:28:19 +00:00
parent 2c0bd362a2
commit c3c4972b43

View file

@ -14,6 +14,8 @@ log_format combined_port '$remote_addr - $remote_user [$time_local] '
# -----------------------------------------------------------------------------
server {
listen 80;
listen [::]:80;
server_name dpaste.de
www.dpaste.de
dpaste.org
@ -30,6 +32,8 @@ server {
server {
listen 443 ssl spdy;
listen [::]:443 ssl spdy;
server_name dpaste.org www.dpaste.org;
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt;
@ -44,6 +48,8 @@ server {
server {
listen 443 ssl spdy;
listen [::]:443 ssl spdy;
server_name dpaste.de www.dpaste.de;
ssl_certificate /srv/dpaste.de/var/ssl_2015/ssl-unified.crt;