blablabla
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good Details

release-0.0.21
amorozov 2023-09-08 01:56:16 +03:00
parent 4b0404f5df
commit facc643c0b
1 changed files with 1 additions and 2 deletions

View File

@ -6,11 +6,10 @@ events {}
stream { stream {
server { server {
set_by_lua_block { content_by_lua_block {
ngx.var.nginx_proxy_source_port = os.getenv("$NGINX_PROXY_SOURCE_PORT"); ngx.var.nginx_proxy_source_port = os.getenv("$NGINX_PROXY_SOURCE_PORT");
ngx.var.nginx_proxy_source_address = os.getenv("$NGINX_PROXY_SOURCE_ADDRESS"); ngx.var.nginx_proxy_source_address = os.getenv("$NGINX_PROXY_SOURCE_ADDRESS");
} }
listen $nginx_proxy_source_port; listen $nginx_proxy_source_port;
proxy_pass $nginx_proxy_source_address; proxy_pass $nginx_proxy_source_address;
} }