Compare commits
1 Commits
release-0.
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| facc643c0b |
@@ -6,11 +6,10 @@ events {}
|
||||
|
||||
stream {
|
||||
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_address = os.getenv("$NGINX_PROXY_SOURCE_ADDRESS");
|
||||
}
|
||||
|
||||
listen $nginx_proxy_source_port;
|
||||
proxy_pass $nginx_proxy_source_address;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user