Created
December 18, 2013 22:33
-
-
Save cgag/8031034 to your computer and use it in GitHub Desktop.
nginx and compojure/jetty
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
102 | |
103 server { | |
104 listen 80; | |
105 server_name bookmarking.curtis.io; | |
106 | |
107 location / { | |
108 expires 24h; | |
109 proxy_pass http://localhost:3000/; | |
110 sendfile on; | |
111 proxy_redirect off; | |
112 proxy_set_header Host $host; | |
113 proxy_set_header X-Real-IP $remote_addr; | |
114 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
115 } | |
116 } | |
117 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment