Redmine: Difference between revisions
imported>Vater mNo edit summary |
imported>Vater |
||
| Line 36: | Line 36: | ||
# services.nginx.recommendedGzipSettings = true; | # services.nginx.recommendedGzipSettings = true; | ||
# services.nginx.recommendedProxySettings = true; | |||
services.nginx.virtualHosts."${config.networking.fqdn}" = { | services.nginx.virtualHosts."${config.networking.fqdn}" = { | ||
locations."/" = { | locations."/" = { | ||
| Line 44: | Line 44: | ||
enableACME = true; | enableACME = true; | ||
}; | }; | ||
# services.nginx.recommendedTlsSettings = true; | |||
security.acme.defaults.email = "acme@${config.networking.domain}"; | security.acme.defaults.email = "acme@${config.networking.domain}"; | ||
security.acme.acceptTerms = true; | security.acme.acceptTerms = true; | ||
| Line 50: | Line 50: | ||
# networking.firewall.allowedTCPPorts = [ 80 443 3000 ]; | # networking.firewall.allowedTCPPorts = [ 80 443 3000 ]; | ||
networking.firewall.allowedTCPPorts = [ 80 443 ]; | networking.firewall.allowedTCPPorts = [ 80 443 ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||