Created
January 22, 2019 07:06
-
-
Save 41tair/4ca1a57ea37d7fd434dfabd1cf47bca0 to your computer and use it in GitHub Desktop.
Revisions
-
41tair created this gist
Jan 22, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ server { listen 80; server_name _; if ($http_x_forwarded_proto = 'http'){ return 301 https://$host$request_uri; } }