diff --git a/nc/docker-compose.yaml b/nc/docker-compose.yaml index ce4de5a..2b55e23 100644 --- a/nc/docker-compose.yaml +++ b/nc/docker-compose.yaml @@ -8,7 +8,7 @@ services: - APACHE_IP_BINDING=127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir ports: - - 127.0.0.1:8080:8080 + - "[::1]:8080:8080" volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'! diff --git a/nginx-rp/nginx.conf b/nginx-rp/nginx.conf index 1263839..abc827e 100644 --- a/nginx-rp/nginx.conf +++ b/nginx-rp/nginx.conf @@ -58,8 +58,8 @@ http { ssl_stapling on; ssl_stapling_verify on; - resolver 1.1.1.1; - + resolver 185.12.64.12 [a01:4ff:ff00::add:2] [2a01:4ff:ff00::add:1]; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Port $server_port; @@ -73,7 +73,7 @@ http { # Define the server IP and ports here. upstream vaultwarden-default { zone vaultwarden-default 64k; - server 127.0.0.1:8081; + server localhost:8081; keepalive 2; } @@ -125,7 +125,7 @@ http { server_name nc.viyurz.fr; location / { - proxy_pass http://127.0.0.1:11000; + proxy_pass http://localhost:11000; add_header Set-Cookie "Path=/; HttpOnly; Secure"; @@ -170,7 +170,7 @@ http { server_name sx.viyurz.fr; location ~ ^/(config|healthz|stats/errors|stats/checker) { - proxy_pass http://127.0.0.1:8083; + proxy_pass http://localhost:8083; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; add_header Set-Cookie "Path=/; HttpOnly; Secure"; @@ -181,7 +181,7 @@ http { } location /static/ { - proxy_pass http://127.0.0.1:8083; + proxy_pass http://localhost:8083; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; add_header Set-Cookie "Path=/; HttpOnly; Secure"; @@ -191,7 +191,7 @@ http { } location /image_proxy { - proxy_pass http://127.0.0.1:8083; + proxy_pass http://localhost:8083; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; add_header Set-Cookie "Path=/; HttpOnly; Secure"; @@ -201,7 +201,7 @@ http { } location / { - proxy_pass http://127.0.0.1:8083; + proxy_pass http://localhost:8083; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; add_header Set-Cookie "Path=/; HttpOnly; Secure"; @@ -222,7 +222,7 @@ http { server_name www.viyurz.fr; location / { - proxy_pass http://127.0.0.1:8082; + proxy_pass http://localhost:8082; } } diff --git a/nginx-www/docker-compose.yaml b/nginx-www/docker-compose.yaml index f18e962..150ce62 100644 --- a/nginx-www/docker-compose.yaml +++ b/nginx-www/docker-compose.yaml @@ -4,7 +4,7 @@ services: restart: always container_name: nginx-www ports: - - 127.0.0.1:8082:80 + - "[::1]:8082:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./index:/mnt/index diff --git a/nginx-www/nginx.conf b/nginx-www/nginx.conf index 9c7f7a2..9690d81 100644 --- a/nginx-www/nginx.conf +++ b/nginx-www/nginx.conf @@ -23,7 +23,6 @@ http { default_type application/octet-stream; server { - listen 80 default_server; listen [::]:80 default_server; http2 on; diff --git a/searxng/docker-compose.yaml b/searxng/docker-compose.yaml index b83b88b..05335ec 100644 --- a/searxng/docker-compose.yaml +++ b/searxng/docker-compose.yaml @@ -20,7 +20,7 @@ services: networks: - searxng ports: - - 127.0.0.1:8083:8080 + - "[::1]:8083:8080" volumes: - ./settings.yml:/etc/searxng/settings.yml - ./limiter.toml:/etc/searxng/limiter.toml diff --git a/vw/docker-compose.yaml b/vw/docker-compose.yaml index 019cf85..eddb72a 100644 --- a/vw/docker-compose.yaml +++ b/vw/docker-compose.yaml @@ -8,6 +8,6 @@ services: - SIGNUPS_ALLOWED=false - INVITATIONS_ALLOWED=false ports: - - 127.0.0.1:8081:80 + - "[::1]:8081:80" volumes: - /mnt/vwdata:/data