Refactor local Nginx virtual hosts and update
...local hostnames
This commit is contained in:
parent
8e599c2ffd
commit
db4cfbc518
7 changed files with 49 additions and 18 deletions
|
@ -229,6 +229,7 @@ in
|
|||
wantedBy = [ "docker-compose-tubearchivist-root.target" ];
|
||||
|
||||
};
|
||||
|
||||
systemd.services."docker-volume-tubearchivist_es" = {
|
||||
path = [ pkgs.docker ];
|
||||
|
||||
|
@ -284,5 +285,11 @@ in
|
|||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
virtualHosts."tubearchivist.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue