diff options
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/default.nix | 1 | ||||
-rw-r--r-- | lass/2configs/websites/domsen.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix index e3065ba84..7bf8e82e4 100644 --- a/lass/2configs/default.nix +++ b/lass/2configs/default.nix @@ -115,6 +115,7 @@ with config.krebs.lib; #neat utils krebspaste pciutils + pop psmisc q rs diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index 8a2161e45..07df2e8de 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -78,6 +78,12 @@ in { ]) ]; + krebs.nginx.servers."ubikmedia.de".locations = [ + (lib.nameValuePair "/piwik" '' + try_files $uri $uri/ /index.php?$args; + '') + ]; + lass.mysqlBackup.config.all.databases = [ "ubikmedia_de" "o_ubikmedia_de" @@ -121,6 +127,7 @@ in { options = '' extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so sendmail_path = "${sendmail} -t -i" + always_populate_raw_post_data = -1 ''; } '' cat ${pkgs.php}/etc/php-recommended.ini > $out |