Nginx 配置https強制跳轉

前言 當Nginx配置https後一般須要將用戶http請求強制跳轉到https,下面教你如何在默認端口以及非默認端口下配置nginx.confnginx http非默認端口強制跳轉https配置 當須要使用非默認端口時,按以下配置便可,示例中端口號爲8000web server { listen 8000 ssl; error_page 497 https://
相關文章
相關標籤/搜索