-
-
Save amalloy/02f0ccf609e8d3d5db34 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; | |
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