nginx location 正則測試


官方提供了一個基於容器部署的正則測試,我們可以方便的測試一些location 以及map

docker 鏡像

我基於官方文檔,構建好了docker鏡像dalongrong/nginx-regex-tester_regextester:latest

使用

  • 啟動
docker run -d -p 80:80 dalongrong/nginx-regex-tester_regextester:latest
  • 使用

http://localhost/regextester.php
效果

 

 

參考資料

https://github.com/nginxinc/NGINX-Demos/tree/master/nginx-regex-tester


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM