Skip to content

@avelino /gist:3304942
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
proxy reverso usando nginx
upstream server {
server 67.159.35.2;
}
server {
listen 80;
server_name avelino.us www.avelino.us;
location / {
proxy_cache proxy-cache;
proxy_cache_key "$host$request_uri$args";
proxy_ignore_headers "Cache-Control" "Expires";
proxy_cache_min_uses 1;
proxy_hide_header Set-Cookie;
proxy_cache_valid 200 301 302 30m;
proxy_cache_valid any 0m;
proxy_buffering on;
proxy_pass http://server;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.