nginx-routes/default.nginx.conf

12 lines
305 B
Plaintext
Raw Permalink Normal View History

events {}
2023-09-08 00:19:19 +02:00
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 {
server {
2023-09-08 00:19:19 +02:00
2023-09-08 00:12:46 +02:00
listen $nginx_proxy_source_port;
proxy_pass $nginx_proxy_source_address;
}
}