feature: updated nginx.conf
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good Details

release-0.0.17
amorozov 2023-09-08 01:43:56 +03:00
parent 99b390b869
commit ca9cfa40a4
1 changed files with 2 additions and 4 deletions

View File

@ -3,12 +3,10 @@ load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;
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 {
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;
proxy_pass $nginx_proxy_source_address;
}