nginx配置301的HTTPS跳转
server { listen 80; # 该节点路径用于 Let's Encrypt 域名校验 location /.well-known/acme-challenge/ { content_by_lua_block { auto_ssl:challenge_server() } } location / { return 301 https://$host$request_uri; } }
nginx配置301的HTTPS跳转
server { listen 80; # 该节点路径用于 Let's Encrypt 域名校验 location /.well-known/acme-challenge/ { content_by_lua_block { auto_ssl:challenge_server() } } location / { return 301 https://$host$request_uri; } }
请登录之后再进行评论