gitea changes
This commit is contained in:
parent
e42f407bd9
commit
49a7f584d5
1 changed files with 1 additions and 11 deletions
|
|
@ -10,7 +10,6 @@ in
|
|||
enable = true;
|
||||
domain = "${domain}";
|
||||
rootUrl = "https://${domain}";
|
||||
log.level = "Warn";
|
||||
httpPort = (lib.strings.toInt gitea_port);
|
||||
|
||||
database = {
|
||||
|
|
@ -26,9 +25,6 @@ in
|
|||
service = {
|
||||
REGISTER_MANUAL_CONFIRM = true;
|
||||
};
|
||||
server = {
|
||||
SSH_SERVER_HOST_KEYS = "ssh/gitea.ed25519";
|
||||
};
|
||||
ui = {
|
||||
DEFAULT_THEME = "arc-green";
|
||||
#THEMES = "gitea-modern";
|
||||
|
|
@ -58,13 +54,7 @@ in
|
|||
enableACME = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://127.0.0.1:${gitea_port}";
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
'';
|
||||
proxyPass = "http://localhost:${gitea_port}";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue