Skip to content

Instantly share code, notes, and snippets.

@jeekl
Created November 13, 2012 19:02
Show Gist options
  • Save jeekl/4067691 to your computer and use it in GitHub Desktop.
Save jeekl/4067691 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name foo.bar;
rewrite ^(.*) https://foo.bar$1? permanent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment