Add stream config for `gitea`.

This commit is contained in:
Kazuhiro MUSASHI 2023-01-28 19:59:49 +09:00
parent 104f817530
commit ecc4760ded
1 changed files with 13 additions and 0 deletions

13
stream-available/gitea Normal file
View File

@ -0,0 +1,13 @@
proxy_protocol on;
error_log /var/log/nginx/stream.log info;
upstream gitea-backend {
server 127.0.0.1:60000;
}
server {
listen 0.0.0.0:50022;
proxy_pass gitea-backend;
}