Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

Enable IPv6 environments by configuring a dual-stack listen in Nginx (#839)

dorsantybea2b8bd9983
diff --git a/nginx.conf b/nginx.conf
index 27f74ad..1dfed94 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -22,7 +22,7 @@ http {
keepalive_timeout 65;
server {
- listen 80;
+ listen [::]:80 ipv6only=off;
server_name localhost;
location / {
diff --git a/nginx.default.conf b/nginx.default.conf
index d9b2bcb..8ea5d0c 100644
--- a/nginx.default.conf
+++ b/nginx.default.conf
@@ -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