Skip to content

Instantly share code, notes, and snippets.

@amalloy
Created January 23, 2013 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalloy/02f0ccf609e8d3d5db34 to your computer and use it in GitHub Desktop.
Save amalloy/02f0ccf609e8d3d5db34 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name www.4clojure.com 4clojure.com static.4clojure.com 4clojure.rayne
s.me;
location / {
proxy_pass http://localhost:8081/;
proxy_set_header Host $host;
}
}
server {
listen 443;
server_name www.4clojure.com 4clojure.com static.4clojure.com 4clojure.raynes.me;
ssl on;
ssl_certificate /home/4clojure/ssl/4clojure_combined.crt;
ssl_certificate_key /home/4clojure/ssl/4clojure.key;
location / {
proxy_pass http://localhost:8081/;
proxy_set_header Host $host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment