Last active
January 11, 2020 22:56
-
-
Save taylor/79c1c133af7584f1bb98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| listen [::]:80 default_server ipv6only=on; | |
| #root /usr/share/nginx/html; | |
| #index index.html index.htm; | |
| #server_name www.example.com; | |
| access_log /var/log/nginx/http_redirect.log combined; | |
| return 301 https://$server_name$request_uri; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment