feat: fix trusted proxies for wireguard setup

This commit is contained in:
Patrick 2024-03-16 23:39:19 +01:00
parent 79f8eb4050
commit 0b2ba41bcb
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ in {
phpOptions."opcache.interned_strings_buffer" = "32";
settings = {
default_phone_region = "DE";
trusted_proxies = [(lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnetv4)];
trusted_proxies = [nodes.elisabeth.config.wireguard.elisabeth.ipv4];
overwriteprotocol = "https";
maintenance_window_start = 2;
enabledPreviewProviders = [

View file

@ -85,7 +85,7 @@ in {
PAPERLESS_URL = "https://${paperlessdomain}";
PAPERLESS_ALLOWED_HOSTS = paperlessdomain;
PAPERLESS_CORS_ALLOWED_HOSTS = "https://${paperlessdomain}";
PAPERLESS_TRUSTED_PROXIES = lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnetv4;
PAPERLESS_TRUSTED_PROXIES = nodes.elisabeth.config.wireguard.elisabeth.ipv4;
PAPERLESS_APPS = "allauth.socialaccount.providers.openid_connect";