Switch reverse proxy to custom OpenResty Docker image, update paths in docker-compose.yml and nginx.conf

This commit is contained in:
2025-06-09 10:41:20 +02:00
parent 5a874ad710
commit cf6245a731
3 changed files with 11 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ http {
# Protected root route (main site)
location / {
access_by_lua_file /etc/nginx/auth.lua;
access_by_lua_file /usr/local/openresty/nginx/conf/auth.lua;
proxy_pass http://main-website:3000;
proxy_set_header Host $host;
@@ -46,7 +46,7 @@ http {
# Protected demo route
location /lawfirm/demo1/ {
access_by_lua_file /etc/nginx/auth.lua;
access_by_lua_file /usr/local/openresty/nginx/conf/auth.lua;
rewrite ^/lawfirm/demo1(/.*)$ $1 break;
proxy_pass http://ld1:3000;