simodorg
V2EX  ›  问与答

问一个 nginx 配置的问题。

  •  1
     
  •   simodorg · Jul 26, 2015 · 1642 views
    This topic created in 3954 days ago, the information mentioned may be changed or developed.
    我在编译 nginx 的时候没有指定 user 和 group。
    然后在指定 root 根目录的时候,我设置了 /home/$address/。
    在这个目录没有文件时,访问网站显示 403,但在添加了 index.html 后,显示的却又是 nginx 默认页面,跟我的 index.html 文件内容不相符,求教各位。
    3 replies    2015-07-27 14:55:16 +08:00
    simodorg
        1
    simodorg  
    OP
       Jul 26, 2015
    我试着建立了 www user 和 www group,在 conf 中设定后也同样...
    simodorg
        2
    simodorg  
    OP
       Jul 26, 2015
    有人能帮帮忙吗?...
    simodorg
        3
    simodorg  
    OP
       Jul 27, 2015
    而且会出现 TTFB 比较长的现象。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 101ms · UTC 19:19 · PVG 03:19 · LAX 12:19 · JFK 15:19
    ♥ Do have faith in what you're doing.