This commit is contained in:
Nicolas Bally 2011-12-29 18:45:35 +01:00
parent 86a39bc325
commit d82b0a898d
17 changed files with 7 additions and 2 deletions

View File

@ -3,8 +3,8 @@ upstream jfn_app_unicorn {
} }
server { server {
listen 80 default deferred; listen 80 deferred;
server_name www.noblet.me; server_name noblet.me;
root /home/web/jfn_app/current/public; root /home/web/jfn_app/current/public;
try_files $uri/index.html $uri @unicorn; try_files $uri/index.html $uri @unicorn;
@ -18,4 +18,9 @@ server {
error_page 500 502 503 504 /500.html; error_page 500 502 503 504 /500.html;
client_max_body_size 4G; client_max_body_size 4G;
keepalive_timeout 10; keepalive_timeout 10;
}
server {
server_name www.noblet.me;
rewrite ^(.*) http://noblet.me$1 permanent;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.