fix
This commit is contained in:
parent
d51468a88b
commit
44b2637202
|
@ -14,6 +14,12 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
quic = true;
|
quic = true;
|
||||||
|
|
||||||
locations."/".proxyPass = "http://${config.services.syncthing.guiAddress}";
|
locations."/" = {
|
||||||
|
proxyPass = "http://${config.services.syncthing.guiAddress}";
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_set_header Host ${config.services.syncthing.guiAddress};
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue