Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Created July 15, 2020 13:33
Show Gist options
  • Save Yatekii/093ff315cb79480077584f5fbc7472d2 to your computer and use it in GitHub Desktop.
Save Yatekii/093ff315cb79480077584f5fbc7472d2 to your computer and use it in GitHub Desktop.
server {
listen 80;
listen 443 ssl;
server_name www.name.com;
return 301 $scheme://name.com$request_uri;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment