Merge pull request #157 from jminardi/patch-1
Add 301 redirect from port 80 to port 443
This commit is contained in:
		
						commit
						6e2600cad1
					
				| @ -1,8 +1,9 @@ | |||||||
| # server { | server { | ||||||
| #     listen         80; | 	listen 80 default_server; | ||||||
| #     server_name    mattermost.example.com; | 	listen [::]:80 default_server; | ||||||
| #     return         301 https://$server_name$request_uri; | 	server_name _; | ||||||
| # } | 	return 301 https://$host$request_uri; | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| map $http_x_forwarded_proto $proxy_x_forwarded_proto { | map $http_x_forwarded_proto $proxy_x_forwarded_proto { | ||||||
|   default $http_x_forwarded_proto; |   default $http_x_forwarded_proto; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Kyâne Pichou
						Kyâne Pichou