blablabla
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good
Details
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good
Details
parent
e0ccf9a350
commit
1f211936ad
|
@ -8,6 +8,9 @@ stream {
|
||||||
content_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");
|
||||||
|
|
||||||
|
ngx.say(ngx.var.nginx_proxy_source_port)
|
||||||
|
ngx.say(ngx.var.nginx_proxy_source_address)
|
||||||
}
|
}
|
||||||
|
|
||||||
listen $nginx_proxy_source_port;
|
listen $nginx_proxy_source_port;
|
||||||
|
|
Loading…
Reference in New Issue