use forgejo in local system config
This commit is contained in:
parent
58348b3c83
commit
af6af71f5c
15 changed files with 65 additions and 317 deletions
|
|
@ -65,6 +65,25 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
# forgejo http traffic
|
||||
"git.joshuabell.xyz" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://10.0.0.2:3000";
|
||||
};
|
||||
};
|
||||
};
|
||||
# STREAMS
|
||||
# Forgejo ssh
|
||||
streamConfig = ''
|
||||
server {
|
||||
listen 3032;
|
||||
proxy_pass 10.0.0.2:3032;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
# Ensure users exists on host machine with same IDs as container
|
||||
inherit users;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue