Add hydraProxy module
[?]
Oct 4, 2019, 7:31 PM
QJB3G6E7HPF7NGMWODVLPUHC3J2WLRL3CH2RG6TFG3MFXTCB7I4QCDependencies
- [2]
6LB22PZNAdd a NixOS container to demo Hydra - [3]
2TKJATASepoch -> edition - [4]
P3M6UFMPMerge remote-tracking branch 'origin/master' into flake - [*]
T4LLYESZ* Nix expression for building Hydra.
Change contents
- replacement in flake.nix at line 6
inputs.nixpkgs.uri = "nixpkgs/release-19.09";inputs.nixpkgs.uri = "nixpkgs/release-19.03"; - edit in flake.nix at line 298
nix.extraOptions = ''allowed-uris = https://github.com/'';};nixosModules.hydraProxy = {services.httpd = {enable = true;adminAddr = "hydra-admin@example.org";extraConfig = ''<Proxy *>Order deny,allowAllow from all</Proxy>ProxyRequests OffProxyPreserveHost OnProxyPass /apache-errors !ErrorDocument 503 /apache-errors/503.htmlProxyPass / http://127.0.0.1:3000/ retry=5 disablereuse=onProxyPassReverse / http://127.0.0.1:3000/'';}; - replacement in flake.nix at line 327
[ { imports = [ self.nixosModules.hydraTest ];[ { imports = [ self.nixosModules.hydraTest self.nixosModules.hydraProxy ]; - edit in flake.nix at line 335
nix.extraOptions = ''allowed-uris = https://github.com/''; - edit in flake.nix at line 336
services.httpd = {enable = true;adminAddr = "hydra-admin@example.org";extraConfig = ''<Proxy *>Order deny,allowAllow from all</Proxy>ProxyRequests OffProxyPreserveHost OnProxyPass /apache-errors !ErrorDocument 503 /apache-errors/503.htmlProxyPass / http://127.0.0.1:3000/ retry=5 disablereuse=onProxyPassReverse / http://127.0.0.1:3000/'';};