Skip to content

Instantly share code, notes, and snippets.

@caseydriscoll
Created June 29, 2017 23:37
Show Gist options
  • Save caseydriscoll/7cb8713e07701b844705f299ab45d625 to your computer and use it in GitHub Desktop.
Save caseydriscoll/7cb8713e07701b844705f299ab45d625 to your computer and use it in GitHub Desktop.
Example nginx conf with global redirect
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