feat: add media revproxy
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
43322818de
commit
36c996a5c0
1 changed files with 9 additions and 0 deletions
|
|
@ -174,6 +174,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."media.escapeangle.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8096";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./hosting-02.yaml;
|
||||
secrets = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue