diff options
Diffstat (limited to 'hosts/cirrus')
| -rw-r--r-- | hosts/cirrus/nextcloud-proxy.nix | 12 | ||||
| -rw-r--r-- | hosts/cirrus/wireguard-server.nix | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/hosts/cirrus/nextcloud-proxy.nix b/hosts/cirrus/nextcloud-proxy.nix index 7a4fa67..3b5166a 100644 --- a/hosts/cirrus/nextcloud-proxy.nix +++ b/hosts/cirrus/nextcloud-proxy.nix @@ -48,5 +48,17 @@ }; }; }; + "news.oxapentane.com" = { + enableACME = true; + forceSSL = true; + extraConfig = '' + client_max_body_size 32M; + ''; + locations = { + "/" = { + proxyPass = "http://10.34.45.102:8080"; + }; + }; + }; }; } diff --git a/hosts/cirrus/wireguard-server.nix b/hosts/cirrus/wireguard-server.nix index d9fc754..526e8db 100644 --- a/hosts/cirrus/wireguard-server.nix +++ b/hosts/cirrus/wireguard-server.nix @@ -95,6 +95,14 @@ PersistentKeepalive = 25; }; } + # news + { + wireguardPeerConfig = { + PublicKey = "guzNmsPcQw4EGSLU3X0SP+WPKAcoMc+xv9SLWdHV1V0="; + AllowedIPs = [ "10.34.45.102/32" ]; + PersistentKeepalive = 25; + }; + } ]; }; networks."oxaproxy" = { |
