X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Ftools%2Fwallabag.nix;h=cd38e19a474f5006ef781daeadd4429d9624a8ee;hb=a95ab089420d6edf24f22500dabf7876d329dc91;hp=1c08bbf63baabfafc74a0ef7279e896b0bbffffd;hpb=7da3ceece7fe6c49046e97f37fc353db9b8a981c;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/tools/wallabag.nix b/nixops/modules/websites/tools/tools/wallabag.nix index 1c08bbf..cd38e19 100644 --- a/nixops/modules/websites/tools/tools/wallabag.nix +++ b/nixops/modules/websites/tools/tools/wallabag.nix @@ -125,13 +125,15 @@ let webRoot = "${webappDir}/web"; # Domain migration: Table wallabag_entry contains whole # https://tools.immae.eu/wallabag domain name in preview_picture - apache = { + apache = rec { user = "wwwrun"; group = "wwwrun"; modules = [ "proxy_fcgi" ]; + webappName = "tools_wallabag"; + root = "/run/current-system/webapps/${webappName}"; vhostConf = '' - Alias /wallabag "${webRoot}" - + Alias /wallabag "${root}" + AllowOverride None Require all granted # For OAuth (apps) @@ -148,7 +150,7 @@ let RewriteRule ^(.*)$ app.php [QSA,L] - + RewriteEngine Off