1
0

Enable local http server on web-2

This commit is contained in:
clerie 2021-01-05 20:27:05 +01:00
parent faa4251d3d
commit 12b4d595d6

View File

@ -34,6 +34,18 @@
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."web-2.net.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "404";
};
locations."/public/" = {
alias = "/var/www/public/";
};
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.borgbackup.jobs = { services.borgbackup.jobs = {