enable nginx with recommanded gzip settings
parent
3e9a1a44d1
commit
84d99bde12
|
@ -4,6 +4,9 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
|
||||||
virtualHosts.${config.services.forgejo.settings.server.DOMAIN} = {
|
virtualHosts.${config.services.forgejo.settings.server.DOMAIN} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in New Issue