secret
Created

Portal Conf

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
upstream portal {
server unix:///var/www/portal/tmp/pids/portal.sock fail_timeout=0;
}
 
server {
listen 443;
server_name local.portal; # change to match your URL
root /var/www/portal/public;
 
location / {
proxy_pass http://portal; # match the name of upstream directive which is defined above
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.