fix(sourcehut): gitsrht & mansrht: listen on ipv6 as well as ipv4
This commit is contained in:
parent
cf859e2c33
commit
6efc6e012f
1 changed files with 18 additions and 2 deletions
|
|
@ -226,8 +226,6 @@ in
|
|||
# enable selfhosted sourcehut instance
|
||||
services.sourcehut = {
|
||||
enable = true;
|
||||
git.enable = true;
|
||||
man.enable = true;
|
||||
meta = {
|
||||
enable = true;
|
||||
gunicorn.extraArgs = [
|
||||
|
|
@ -237,6 +235,24 @@ in
|
|||
"--bind [::1]:5000"
|
||||
];
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
gunicorn.extraArgs = [
|
||||
"--timeout 120"
|
||||
"--workers 1"
|
||||
"--log-level=info"
|
||||
"--bind [::1]:5000"
|
||||
];
|
||||
};
|
||||
man = {
|
||||
enable = true;
|
||||
gunicorn.extraArgs = [
|
||||
"--timeout 120"
|
||||
"--workers 1"
|
||||
"--log-level=info"
|
||||
"--bind [::1]:5000"
|
||||
];
|
||||
};
|
||||
nginx.enable = true;
|
||||
postgresql.enable = true;
|
||||
redis.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue