Skip to content

Instantly share code, notes, and snippets.

@amalloy
Created July 10, 2012 23:38
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/5e766a7ab6f1976eeeb0 to your computer and use it in GitHub Desktop.
Save amalloy/5e766a7ab6f1976eeeb0 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name www.4clojure.com 4clojure.com;
location / {
proxy_pass http://localhost:8081/;
proxy_set_header Host $host;
}
}
server {
listen 443;
server_name www.4clojure.com 4clojure.com;
ssl on;
ssl_certificate <FILENAME REDACTED>;
ssl_certificate_key <FILENAME REDACTED>;
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