Switch NGINX to OpenResty, update paths for nginx.conf and auth.lua integration

This commit is contained in:
2025-06-09 10:27:53 +02:00
parent 7de107ea6e
commit e8b7db4edb
2 changed files with 5 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
services:
reverse-proxy:
image: nginx:latest
image: openresty/openresty:alpine
container_name: demo-nginx-proxy
ports:
- "25700:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./auth.lua:/etc/nginx/auth.lua:ro
- ./nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
- ./auth.lua:/usr/local/openresty/nginx/conf/auth.lua:ro
environment:
- KEYCLOAK_CLIENT_SECRET=${KEYCLOAK_CLIENT_SECRET}
env_file: