enable nginx with recommanded gzip settings

master
Jalil Arfaoui 2024-11-15 22:36:20 +01:00
parent 3e9a1a44d1
commit 84d99bde12
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ let
in
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
virtualHosts.${config.services.forgejo.settings.server.DOMAIN} = {
forceSSL = true;
enableACME = true;