Created
December 7, 2010 10:41
-
-
Save kuon/731659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
client_max_body_size 50M; | |
server_name a3.walking-the-edit.net; | |
location / { | |
root /we/cms/current/public; | |
try_files /system/maintenance.html $uri $uri/index.html $uri.html @unicorn; | |
} | |
location @unicorn { | |
proxy_pass http://unix:/we/cms/shared/sockets/unicorn.sock; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment