• 请不要在回答技术问题时复制粘贴 AI 生成的内容
barb
V2EX  ›  程序员

nginx 写静态目录 与真静态目录会冲突吗?

  •  
  •   barb · Sep 4, 2013 · 3624 views
    This topic created in 4821 days ago, the information mentioned may be changed or developed.
    我很菜~~~
    5 replies  •  1970-01-01 08:00:00 +08:00
    barb
    barb
    OP
    Sep 5, 2013
    1
    我很菜~~~
    shiny
    shiny
    Sep 5, 2013❤️1
    2
    rewrite 规则优先,除非你加了限制条件排除掉已经存在的文件和目录。(参考 wordpress rewrite 规则)
    icanfork
    icanfork
    Sep 5, 2013❤️2
    3
    -f和!-f判断是否存在文件

    -d和!-d判断是否存在目录

    -e和!-e判断是否存在文件或目录

    -x和!-x判断文件是否可执行
    barb
    barb
    OP
    Sep 5, 2013
    4
    都好强大!
    yaroot
    yaroot
    Sep 6, 2013
    5
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2330 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:41 · PVG 21:41 · LAX 05:41 · JFK 08:41
    ♥ Do have faith in what you're doing.