a. rewrite ^ https://$http_host$request_uri? permanent;

  b. rewrite ^/(.*)$ http://domain.com/$1 permanent;

  c. return 301 https://$server_name$request_uri;

 

相关文章:

  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-07
  • 2022-12-23
  • 2021-09-20
  • 2021-11-19
  • 2022-12-23
  • 2022-02-03
相关资源
相似解决方案