This commit is contained in:
parent
508c3a20bd
commit
5f9ef795c0
1 changed files with 7 additions and 1 deletions
|
|
@ -38,7 +38,12 @@ in
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 512M;
|
client_max_body_size 512M;
|
||||||
'';
|
'';
|
||||||
locations."/".proxyPass = "http://[::1]:13121";
|
locations."/" = {
|
||||||
|
proxyPass = "http://[::1]:13121";
|
||||||
|
extraConfig = ''
|
||||||
|
rewrite ^/user/login.*$ /user/oauth2/pocketid last;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
|
|
@ -86,6 +91,7 @@ in
|
||||||
};
|
};
|
||||||
repository = {
|
repository = {
|
||||||
DEFAULT_PRIVATE = "private";
|
DEFAULT_PRIVATE = "private";
|
||||||
|
DISABLE_HTTP_GIT = true;
|
||||||
};
|
};
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue