Nginx下只針對logging.php進行https處理的重寫規則 【轉】

文章出處:Nginx下只針對logging.php進行https處理的重寫規則 php 在https server下加入以下配置:linux if ($uri !~* "/logging.php$") { rewrite ^/(.*)$ http://$host/$1 redirect; }spa 在http server下加入以下配置:server if ($uri ~* "/logging.p
相關文章
相關標籤/搜索