Proxy Gitea SSH port 2222 through raspen
This commit is contained in:
@@ -13,6 +13,7 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "5432:5432"
|
||||
- "2222:2222"
|
||||
- "51820:51820/udp"
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
upstream gitea_ssh {
|
||||
server 10.0.0.2:2222;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 2222;
|
||||
proxy_pass gitea_ssh;
|
||||
}
|
||||
Reference in New Issue
Block a user