Compare commits

...

2 commits

Author SHA1 Message Date
Sam A. 165371e969
Make NGINX only resolve IPv4 2024-01-28 18:43:12 +01:00
Sam A. 479de1cb31
Upgrade IPFS 2024-01-28 18:41:05 +01:00
5 changed files with 3 additions and 5 deletions

View file

@ -27,7 +27,7 @@ apps_vars:
extra_tasks: true
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
version: v0.23.0
version: v0.25.0
monerod:
backup: false

View file

@ -5,6 +5,8 @@ set_real_ip_from {{ proxy_host }};
real_ip_header X-Forwarded-For;
real_ip_recursive on;
resolver 127.0.0.11 valid=30s ipv6=off;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;

View file

@ -6,7 +6,6 @@ server {
server_name {{ apps_vars.ipfs.domain }};
location / {
resolver 127.0.0.11 valid=30s;
set $upstream http://ipfs:5001;
proxy_pass $upstream;
@ -21,7 +20,6 @@ server {
server_name ~^([\w-]+\.(ipfs|ipns)\.)?{{ apps_vars.ipfs.gateway_domain }}$;
location / {
resolver 127.0.0.11 valid=30s;
set $upstream http://ipfs:8080;
proxy_pass $upstream;

View file

@ -6,7 +6,6 @@ server {
server_name {{ apps_vars.monerod.domain }};
location / {
resolver 127.0.0.11 valid=30s;
set $upstream http://monerod:18089;
proxy_pass $upstream;

View file

@ -6,7 +6,6 @@ server {
server_name {{ apps_vars.nextcloud.domain }};
location / {
resolver 127.0.0.11 valid=30s;
set $upstream http://nextcloud:80;
proxy_pass $upstream;