Created
May 1, 2009 13:52
-
-
Save myles/105054 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 domain.tld; | |
rewrite ^(.+)$ https://$server_name$1 redirect; | |
} | |
server { | |
listen 443; | |
include /etc/nginx/ssl.conf; | |
server_name domain.tld; | |
access_log /var/log/nginx/git.access.log; | |
error_log /var/log/nginx/git.error.log; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment