adding nginx
This commit is contained in:
@@ -47,6 +47,12 @@ in
|
||||
#networking.firewall.allowedTCPPorts = [ 8096 ];
|
||||
|
||||
# reverse proxy entryo
|
||||
|
||||
services.nginx.virtualHosts."media.blakedheld.xyz" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8096";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user