feat(forgejo): use LANDING_PAGE instead of 303 redirect
This commit is contained in:
parent
d04f2f59e4
commit
86efc683ed
1 changed files with 1 additions and 6 deletions
|
@ -27,6 +27,7 @@ in {
|
|||
DOMAIN = "buffets.kitchen";
|
||||
ROOT_URL = "https://buffets.kitchen/";
|
||||
HTTP_PORT = port;
|
||||
LANDING_PAGE = "/chef";
|
||||
};
|
||||
|
||||
service = {
|
||||
|
@ -65,12 +66,6 @@ in {
|
|||
forceSSL = true;
|
||||
|
||||
locations = {
|
||||
"= /" = {
|
||||
extraConfig = ''
|
||||
return 303 https://$host/chef;
|
||||
'';
|
||||
};
|
||||
|
||||
"/" = {
|
||||
proxyPass = "http://localhost:${toString port}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue