-
This commit is contained in:
Nicolas Bally 2013-04-11 17:36:45 +02:00
parent 739a8b435b
commit b5d4101888

View File

@ -5,14 +5,14 @@ upstream nb_app_unicorn {
server {
listen 80;
server_name nicolasbally.com;
root /home/web/auclair_app/current/public;
root /home/web/nb_app/current/public;
try_files $uri/index.html $uri @unicorn;
location @unicorn {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://auclair_app_unicorn;
proxy_pass http://nb_app_unicorn;
}
error_page 500 502 503 504 /500.html;