make rescyn work
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [config.services.resilio.httpListenPort];
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."sync.stubbe.rocks" = {
|
services.nginx.virtualHosts."sync.stubbe.rocks" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://localhost:${config.services.resilio.httpListenPort}";
|
locations."/".proxyPass = "http://localhost:${toString config.services.resilio.httpListenPort}";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.resilio = {
|
services.resilio = {
|
||||||
|
|||||||
Reference in New Issue
Block a user