summaryrefslogtreecommitdiff
path: root/hosts/cirrus/nextcloud-proxy.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-05-01 15:17:31 +0200
committerGrigory Shipunov2023-05-01 15:17:31 +0200
commite867ab195e66fd4a85d1080d9633d656333bdd7a (patch)
treede9cf459ad461bd722f5539be338ff76479dec97 /hosts/cirrus/nextcloud-proxy.nix
parentbdeff3c16d2ec3800dd0d5587aea541c5b613583 (diff)
nixpkgs-fmt
Diffstat (limited to 'hosts/cirrus/nextcloud-proxy.nix')
-rw-r--r--hosts/cirrus/nextcloud-proxy.nix38
1 files changed, 19 insertions, 19 deletions
diff --git a/hosts/cirrus/nextcloud-proxy.nix b/hosts/cirrus/nextcloud-proxy.nix
index 60aee49..7a4fa67 100644
--- a/hosts/cirrus/nextcloud-proxy.nix
+++ b/hosts/cirrus/nextcloud-proxy.nix
@@ -21,32 +21,32 @@
enableACME = true;
forceSSL = true;
extraConfig = ''
- client_max_body_size 512M;
+ client_max_body_size 512M;
'';
locations = {
"/" = {
- proxyPass = "http://10.34.45.100:8080";
- };
- "/well-known/carddav" = {
- return = "301 $scheme://$host/remote.php/dav";
- };
- "/well-known/caldav" = {
- return = "301 $scheme://$host/remote.php/dav";
+ proxyPass = "http://10.34.45.100:8080";
+ };
+ "/well-known/carddav" = {
+ return = "301 $scheme://$host/remote.php/dav";
+ };
+ "/well-known/caldav" = {
+ return = "301 $scheme://$host/remote.php/dav";
+ };
};
};
- };
- "music.oxapentane.com" = {
- enableACME = true;
- forceSSL = true;
- extraConfig = ''
- client_max_body_size 32M;
- '';
- locations = {
- "/" = {
- proxyPass = "http://10.34.45.101:4533";
+ "music.oxapentane.com" = {
+ enableACME = true;
+ forceSSL = true;
+ extraConfig = ''
+ client_max_body_size 32M;
+ '';
+ locations = {
+ "/" = {
+ proxyPass = "http://10.34.45.101:4533";
+ };
};
};
};
-};
}