treewide: Refactor nginx config
This commit is contained in:
parent
7bb27d9bee
commit
0d43b5177d
8 changed files with 68 additions and 41 deletions
configuration/services
|
@ -46,9 +46,7 @@ in {
|
|||
services.nginx.virtualHosts."${hostName}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/${hostName}/access.log upstream_time;
|
||||
'';
|
||||
# The upstream module already adds HSTS
|
||||
};
|
||||
|
||||
# Block repeated failed login attempts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue