fix: ssl
This commit is contained in:
parent
4c2eafaf81
commit
d5ef607d5b
|
@ -42,6 +42,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts.${cfg.nginxHostname} = {
|
services.nginx.virtualHosts.${cfg.nginxHostname} = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||||
|
|
Loading…
Reference in a new issue