Add netbox vhost in nginx config
This commit is contained in:
parent
b2e383abdc
commit
35d6c47483
1 changed files with 9 additions and 0 deletions
|
@ -123,6 +123,15 @@ in
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
virtualHosts."netbox.le43.eu" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://192.168.1.45";
|
||||
recommendedProxySettings = true;
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
Loading…
Reference in a new issue