aboutsummaryrefslogtreecommitdiff
path: root/virtual/packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/packages.nix')
-rw-r--r--virtual/packages.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/virtual/packages.nix b/virtual/packages.nix
index cd98b79..ef9feb5 100644
--- a/virtual/packages.nix
+++ b/virtual/packages.nix
@@ -61,6 +61,18 @@ let
61 SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost" 61 SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost"
62 </FilesMatch> 62 </FilesMatch>
63 63
64 <Directory ${varDir}/medias>
65 Options FollowSymLinks
66 AllowOverride None
67 Require all granted
68 </Directory>
69
70 <Directory ${varDir}/uploads>
71 Options FollowSymLinks
72 AllowOverride None
73 Require all granted
74 </Directory>
75
64 ${if environment == "dev" then '' 76 ${if environment == "dev" then ''
65 <Location /> 77 <Location />
66 Use LDAPConnect 78 Use LDAPConnect
@@ -131,6 +143,7 @@ let
131 # FIXME: can we do better than symlink? 143 # FIXME: can we do better than symlink?
132 # FIXME: imagick optional 144 # FIXME: imagick optional
133 # FIXME: initial sync 145 # FIXME: initial sync
146 # FIXME: backup
134 buildPhase = '' 147 buildPhase = ''
135 export GIT_SSL_CAINFO=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt 148 export GIT_SSL_CAINFO=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
136 export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt 149 export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt