Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nginx and compojure/jetty
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