diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-14 08:47:00 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-14 09:41:18 +0200 |
commit | daf64e3f7de98e4267823d14fa34891b27b5f657 (patch) | |
tree | 82a3bc59b1bff35b7cd2fc4aeb02e0485e5b37a0 /nixops/modules/buildbot | |
parent | 017cb76f3355369a57cee7e851e013fbe7b265b7 (diff) | |
download | Nix-daf64e3f7de98e4267823d14fa34891b27b5f657.tar.gz Nix-daf64e3f7de98e4267823d14fa34891b27b5f657.tar.zst Nix-daf64e3f7de98e4267823d14fa34891b27b5f657.zip |
Start moving websites configuration to modules
Diffstat (limited to 'nixops/modules/buildbot')
-rw-r--r-- | nixops/modules/buildbot/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/buildbot/default.nix b/nixops/modules/buildbot/default.nix index c812af9..89a0dea 100644 --- a/nixops/modules/buildbot/default.nix +++ b/nixops/modules/buildbot/default.nix | |||
@@ -37,7 +37,7 @@ in | |||
37 | extraGroups = [ "keys" ]; | 37 | extraGroups = [ "keys" ]; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | services.myWebsites.tools.vhostConfs.git.extraConfig = lib.attrsets.mapAttrsToList (k: project: '' | 40 | services.websites.tools.vhostConfs.git.extraConfig = lib.attrsets.mapAttrsToList (k: project: '' |
41 | RedirectMatch permanent "^/buildbot/${project.name}$" "/buildbot/${project.name}/" | 41 | RedirectMatch permanent "^/buildbot/${project.name}$" "/buildbot/${project.name}/" |
42 | RewriteEngine On | 42 | RewriteEngine On |
43 | RewriteRule ^/buildbot/${project.name}/ws(.*)$ unix:///run/buildbot/${project.name}.sock|ws://git.immae.eu/ws$1 [P,NE,QSA,L] | 43 | RewriteRule ^/buildbot/${project.name}/ws(.*)$ unix:///run/buildbot/${project.name}.sock|ws://git.immae.eu/ws$1 [P,NE,QSA,L] |