conf nginx

This commit is contained in:
Nicolas Bally 2011-12-29 18:48:59 +01:00
parent 4317e65438
commit 45aa8fa897

View File

@ -3,7 +3,7 @@ upstream jfn_app_unicorn {
}
server {
listen 80 deferred;
listen 80;
server_name noblet.me;
root /home/web/jfn_app/current/public;
try_files $uri/index.html $uri @unicorn;
@ -21,6 +21,7 @@ server {
}
server {
listen 80;
server_name www.noblet.me;
rewrite ^(.*) http://noblet.me$1 permanent;
}