Compare commits
2 Commits
release-0.
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 93162143aa | |||
| 9e8b6e44bb |
@@ -1,7 +1,13 @@
|
|||||||
|
include /etc/nginx/modules/http_lua.conf;
|
||||||
|
|
||||||
events {}
|
events {}
|
||||||
|
|
||||||
|
set_by_lua $nginx_proxy_source_port 'return os.getenv("$NGINX_PROXY_SOURCE_PORT")';
|
||||||
|
set_by_lua $nginx_proxy_source_address 'return os.getenv("$NGINX_PROXY_SOURCE_ADDRESS")';
|
||||||
|
|
||||||
stream {
|
stream {
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen $nginx_proxy_source_port;
|
listen $nginx_proxy_source_port;
|
||||||
proxy_pass $nginx_proxy_source_address;
|
proxy_pass $nginx_proxy_source_address;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user