l nginx: reload instead of restart, remove old default
This commit is contained in:
parent
82e49f156a
commit
15539bebab
@ -8,12 +8,7 @@ with import <stockholm/lib>;
|
||||
recommendedOptimisation = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts._http = {
|
||||
default = true;
|
||||
extraConfig = ''
|
||||
return 404;
|
||||
'';
|
||||
};
|
||||
enableReload = true;
|
||||
|
||||
virtualHosts.default = {
|
||||
locations."= /etc/os-release".extraConfig = ''
|
||||
|
@ -32,6 +32,7 @@ in {
|
||||
services.nginx.virtualHosts."lassul.us" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
default = true;
|
||||
locations."/".extraConfig = ''
|
||||
root /srv/http/lassul.us;
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user