diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index b9f76a61..741a737f 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -132,14 +132,22 @@ in { services.nginx.virtualHosts = { "pages.sako.lol" = { - forceSSL = true; + listen = [{ + addr = "0.0.0.0"; + port = 443; + ssl = true; + }]; locations."/" = { proxyPass = "http://localhost:4563"; }; extraConfig = '' ssl_preread on; ''; }; "*.pages.sako.lol" = { - forceSSL = true; + listen = [{ + addr = "0.0.0.0"; + port = 443; + ssl = true; + }]; locations."/" = { proxyPass = "http://localhost:4563"; }; extraConfig = '' ssl_preread on;