mirror of
https://github.com/ellite/Wallos.git
synced 2025-12-23 15:08:06 -05:00
Enable IPv6 environments by configuring a dual-stack listen in Nginx (#839)
Co-authored-by: Dara Dorsaneo <daradorsaneo@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ http {
|
||||
keepalive_timeout 65;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80 ipv6only=off;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80 ipv6only=off;
|
||||
server_name your_domain_or_ip; # Change to your domain or IP
|
||||
|
||||
root /var/www/html; # Change to your web root directory
|
||||
|
||||
Reference in New Issue
Block a user