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
nix/hosts/lemp11/modules
|
@ -1,13 +1,11 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
virtualHosts = {
|
||||
"gitea.localhost".locations."/".proxyPass = "http://localhost:2222/";
|
||||
"immich.localhost".locations."/".proxyPass = "http://localhost:2283/";
|
||||
"jellyfin.localhost".locations."/".proxyPass = "http://localhost:8096/";
|
||||
"syncthing.localhost".locations."/".proxyPass = "http://localhost:8384/";
|
||||
"tubearchivist.localhost".locations."/".proxyPass = "http://localhost:8000/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue