public
Created

example nginx.conf for a resque-web

  • Download Gist
resqueweb.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
upstream resqueweb {
server unix:/tmp/resque.etagwerker.com.sock fail_timeout=0;
}
 
server {
listen 80;
server_name resque.etagwerker.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://resqueweb;
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.