Skip to content

Instantly share code, notes, and snippets.

@leandromoreira

leandromoreira/nginx.conf

Last active Apr 12, 2020
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
You can’t perform that action at this time.