109

ngxin做http强制跳转https,接口的POST请求变成了GET-为了部落!

 6 years ago
source link: http://blog.51cto.com/10309478/2089060
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
公司准备将 http 换成 https,就需要 http 强制跳转到 https。这个在网上搜了下,基本总结下在 server 里面配置 rewrite ^(.*)$  https://$host$1 permanent;或者在server里面配置 return 301 https://$server_name$request_uri;或者在server里面

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK