Adam Howard
Well-known member
The idea is I want to have both a v4 and v6 IP address. Below is what I currently have now
How exactly would I add the v6 IP address?
I tried this...
But sadly that gave me this error.
So I am puzzled....
PHP:
server {
listen xxx.xxx.xxx.xxx:80;
server_name sociallyuncensored.net;
#charset koi8-r;
access_log /var/log/nginx/log/sociallyuncensored.net.log main;
root /usr/share/nginx/sociallyuncensored.net/public_html;
index index.html index.php;
include /etc/nginx/rewrites.conf;
include /etc/nginx/php.conf;
}
I tried this...
PHP:
server {
listen xxx.xxx.xxx.xxx:80;
listen yyy.yyy.yyy.yyy:80;
server_name sociallyuncensored.net;
#charset koi8-r;
access_log /var/log/nginx/log/sociallyuncensored.net.log main;
root /usr/share/nginx/sociallyuncensored.net/public_html;
index index.html index.php;
include /etc/nginx/rewrites.conf;
include /etc/nginx/php.conf;
}
PHP:
nginx: [emerg] invalid port in "yyyy:yyyy:yyy:yyyy:80" of the "listen" directive in /etc/nginx/conf.d/sociallyuncensored_net.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed