refactor(nixos): declare Gitea HTTP route with its guest
This commit is contained in:
1 parent
9d31b7c8b9
commit
9a040ccf3d
2 files changed
+8
-5
No files matched your search
@@ -14,11 +14,6 @@ in
|
||||
modules.services.reverse-proxy.enable = true;
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"git.alexion.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://${giteaAddress}:3000";
|
||||
};
|
||||
"photos.alexion.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
@@ -101,6 +101,14 @@
|
||||
vlan = 20;
|
||||
address = "10.23.20.206";
|
||||
dataPath = "/pikachu/data/gitea";
|
||||
reverseProxy = {
|
||||
enable = true;
|
||||
route = {
|
||||
domain = "git.alexion.dev";
|
||||
protocol = "https";
|
||||
port = 3000;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
guests.romm = {
|
||||
|
||||
Reference in new issue
Block a user