diff options
| author | Grigory Shipunov | 2025-01-20 17:19:29 +0000 |
|---|---|---|
| committer | Grigory Shipunov | 2025-01-21 00:16:37 +0000 |
| commit | 3a98bf89b6cc3ddd285501258c2c74c9377c3e19 (patch) | |
| tree | efb870fb94217c3a113eaf67521dea6bbdd57624 /hosts/cloud/proxy/dav-htaccess.nix | |
| parent | ea75d168e423dfd71d6122d3c9540223585c662e (diff) | |
proxy radicale directly for the time being
Diffstat (limited to 'hosts/cloud/proxy/dav-htaccess.nix')
| -rw-r--r-- | hosts/cloud/proxy/dav-htaccess.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hosts/cloud/proxy/dav-htaccess.nix b/hosts/cloud/proxy/dav-htaccess.nix new file mode 100644 index 0000000..7902270 --- /dev/null +++ b/hosts/cloud/proxy/dav-htaccess.nix @@ -0,0 +1,17 @@ +{ ... }: +{ + services.nginx.upstreams.radicale = { + servers = { + "10.89.88.12:5232" = { }; + "[fd31:185d:722f::12]:5232" = { }; + }; + }; + + services.nginx.virtualHosts."dav.oxapentane.com" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://radicale/"; + }; + }; +} |
