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;
|
||||
|
||||
Reference in new issue
Block a user