diff options
Diffstat (limited to 'modules/private/websites/tools/tools/default.nix')
-rw-r--r-- | modules/private/websites/tools/tools/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix index 7a9a125..93d1122 100644 --- a/modules/private/websites/tools/tools/default.nix +++ b/modules/private/websites/tools/tools/default.nix | |||
@@ -112,6 +112,7 @@ in { | |||
112 | '' | 112 | '' |
113 | Timeout 600 | 113 | Timeout 600 |
114 | ProxyTimeout 600 | 114 | ProxyTimeout 600 |
115 | Header always set Content-Security-Policy-Report-Only "${config.myEnv.tools.csp_reports.policies.inline}" | ||
115 | <Directory "/var/lib/ftp/devtools.immae.eu"> | 116 | <Directory "/var/lib/ftp/devtools.immae.eu"> |
116 | DirectoryIndex index.php index.htm index.html | 117 | DirectoryIndex index.php index.htm index.html |
117 | AllowOverride all | 118 | AllowOverride all |
@@ -304,6 +305,8 @@ in { | |||
304 | }; | 305 | }; |
305 | phpEnv = { | 306 | phpEnv = { |
306 | CONTACT_EMAIL = config.myEnv.tools.contact; | 307 | CONTACT_EMAIL = config.myEnv.tools.contact; |
308 | CSP_REPORT_URI = with config.myEnv.tools.csp_reports.postgresql; | ||
309 | "\"host=${socket} dbname=${database} user=${user} password=${password}\""; | ||
307 | }; | 310 | }; |
308 | phpPackage = pkgs.php72; | 311 | phpPackage = pkgs.php72; |
309 | }; | 312 | }; |