aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/cloud/nextcloud.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/modules/websites/tools/cloud/nextcloud.nix')
-rw-r--r--nixops/modules/websites/tools/cloud/nextcloud.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix
index ac77920..d9e0be0 100644
--- a/nixops/modules/websites/tools/cloud/nextcloud.nix
+++ b/nixops/modules/websites/tools/cloud/nextcloud.nix
@@ -214,13 +214,15 @@ let
214 fi 214 fi
215 ''; 215 '';
216 }; 216 };
217 apache = { 217 apache = rec {
218 user = "wwwrun"; 218 user = "wwwrun";
219 group = "wwwrun"; 219 group = "wwwrun";
220 modules = [ "proxy_fcgi" ]; 220 modules = [ "proxy_fcgi" ];
221 webappName = "tools_nextcloud";
222 root = "/run/current-system/webapps/${webappName}";
221 vhostConf = '' 223 vhostConf = ''
222 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 224 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
223 <Directory ${webRoot}> 225 <Directory ${root}>
224 AcceptPathInfo On 226 AcceptPathInfo On
225 DirectoryIndex index.php 227 DirectoryIndex index.php
226 Options FollowSymlinks 228 Options FollowSymlinks