Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Last active April 12, 2020 11:46
Embed
What would you like to do?
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