Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 206b1e9761
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.966 kb
server {
listen 80 default deferred;
client_max_body_size 4G;
# ~2 seconds is often enough for most folks to parse HTML/CSS and
# retrieve needed images/icons/frames, connections are cheap in
# nginx so increasing this is generally safe...
keepalive_timeout 5;
# path for static files
root /data/apps/checkafilm/current/public;
# Prefer to serve static files directly from nginx to avoid unnecessary
# data copies from the application server.
# try_files directive appeared in in nginx 0.7.27 and has stabilized
# over time. Older versions of nginx (e.g. 0.6.x) requires
# "if (!-f $request_filename)" which was less efficient:
try_files $uri/index.html $uri.html $uri @app;
location @app {
passenger_enabled on;
passenger_rolling_restarts on;
passenger_resist_deployment_errors on;
Jump to Line
Something went wrong with that request. Please try again.