diff --git a/nginx.conf.template b/nginx.conf.template new file mode 100644 index 0000000..e1dca56 --- /dev/null +++ b/nginx.conf.template @@ -0,0 +1,17 @@ +events {} + +http { + upstream backend { + ${BACKEND_SERVERS} + } + + server { + listen ${LISTEN_PORT:-80}; + + location / { + proxy_pass http://backend; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + } +} \ No newline at end of file