Created
June 29, 2017 23:37
-
-
Save caseydriscoll/7cb8713e07701b844705f299ab45d625 to your computer and use it in GitHub Desktop.
Example nginx conf with global redirect
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 caseydris.co www.caseydris.co; | |
root /srv/www/caseydris.co/public_html; | |
include global/redirect.conf; | |
} | |
server { | |
listen 443 ssl http2; | |
server_name caseydris.co www.caseydris.co; | |
// Etc... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment