Add recommended nginx settings and optimisations
This commit is contained in:
parent
a3123cfdec
commit
13e1773fb9
1 changed files with 6 additions and 0 deletions
|
@ -8,7 +8,13 @@
|
|||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
# Use recommended settings
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts = {
|
||||
"ha.campares.duckdns.org" = {
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue