feat(forgejo): redirect to /chef by default to circumvent the landing page
This commit is contained in:
parent
58af3edd2e
commit
f3659e689c
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ in {
|
|||
useACMEHost = "buffet.sh";
|
||||
forceSSL = true;
|
||||
|
||||
locations."= /" = {
|
||||
extraConfig = ''
|
||||
return 301 https://$host/chef;
|
||||
'';
|
||||
};
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString port}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue