http { | |
upstream backend { | |
server ingest; | |
} | |
server { | |
listen 8080; | |
location / { | |
proxy_cache my_cache; | |
proxy_cache_lock on; | |
proxy_pass http://backend; | |
} | |
location /app { | |
alias /usr/local/openresty/nginx/; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment