Skip to content

Instantly share code, notes, and snippets.

@foxted
Last active October 19, 2015 08:37
Show Gist options
  • Save foxted/32f63ffd9411ea126743 to your computer and use it in GitHub Desktop.
Save foxted/32f63ffd9411ea126743 to your computer and use it in GitHub Desktop.
nginx SSL
server {
server_name .example.com;
return 301 $scheme://www.example.com$request_uri;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment