Skip to content

Instantly share code, notes, and snippets.

@halit
Created September 19, 2012 18:56
Show Gist options
  • Select an option

  • Save halit/3751498 to your computer and use it in GitHub Desktop.

Select an option

Save halit/3751498 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name halitalptekin.com www.halitalptekin.com;
if ($http_host = halitalptekin.com) {
rewrite (.*) http://www.halitalptekin.com$1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment