feat(forgejo): redirect to /chef by default to circumvent the landing page

This commit is contained in:
buffet 2024-04-20 18:42:27 +02:00
parent 58af3edd2e
commit f3659e689c

View file

@ -34,6 +34,12 @@ in {
useACMEHost = "buffet.sh";
forceSSL = true;
locations."= /" = {
extraConfig = ''
return 301 https://$host/chef;
'';
};
locations."/" = {
proxyPass = "http://localhost:${toString port}";
};