Skip to content

Instantly share code, notes, and snippets.

@freemanirl
Created November 3, 2016 13:02
Show Gist options
  • Save freemanirl/c13ab055618553dc224d77aa4a96415a to your computer and use it in GitHub Desktop.
Save freemanirl/c13ab055618553dc224d77aa4a96415a to your computer and use it in GitHub Desktop.
Global SSL Redirect for Nginx
return 301 https://$host$request_uri;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment