feature: updated nginx.conf
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
99b390b869
commit
ca9cfa40a4
|
@ -3,12 +3,10 @@ load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;
|
||||||
|
|
||||||
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 {
|
||||||
|
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")';
|
||||||
listen $nginx_proxy_source_port;
|
listen $nginx_proxy_source_port;
|
||||||
proxy_pass $nginx_proxy_source_address;
|
proxy_pass $nginx_proxy_source_address;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue