Fix for headless
This commit is contained in:
parent
0a7738b8cd
commit
b6cbe22d7a
|
@ -113,6 +113,7 @@ in
|
|||
openDefaultPorts = true;
|
||||
group = "users";
|
||||
relay.enable = false;
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
# settings = {
|
||||
# devices = {
|
||||
# # "supernote" = { id = "DEVICE-ID-GOES-HERE"; };
|
||||
|
@ -135,19 +136,6 @@ in
|
|||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
# recommendedTlsSettings = true;
|
||||
# other Nginx options
|
||||
virtualHosts."http://127.0.0.1" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8384";
|
||||
};
|
||||
};
|
||||
};
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user