mirror of
https://github.com/kazu634/nginx-config.git
synced 2025-03-12 03:33:26 +00:00
Add stream config for gitea
.
This commit is contained in:
parent
104f817530
commit
ecc4760ded
13
stream-available/gitea
Normal file
13
stream-available/gitea
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user