diff options
Diffstat (limited to 'example/nginx.conf')
-rw-r--r-- | example/nginx.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/nginx.conf b/example/nginx.conf index d854e66..298f0a6 100644 --- a/example/nginx.conf +++ b/example/nginx.conf @@ -31,7 +31,7 @@ http { #gzip on; upstream aclog-webserver { - server unix:/var/webapps/aclog/tmp/sockets/unicorn.sock; + server unix:/var/webapps/aclog/tmp/sockets/puma.sock; } server { @@ -40,10 +40,10 @@ http { location / { root /var/webapps/aclog/public; - try_files $uri $uri/index.xhtml $uri.xhtml @unicorn; + try_files $uri $uri/index.xhtml $uri.xhtml @rack; } - location @unicorn { + location @rack { proxy_redirect off; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; |