Enable local http server on web-2
This commit is contained in:
parent
faa4251d3d
commit
12b4d595d6
@ -34,6 +34,18 @@
|
||||
recommendedProxySettings = 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 ];
|
||||
|
||||
services.borgbackup.jobs = {
|
||||
|
Loading…
Reference in New Issue
Block a user