sternelee
V2EX  ›  Ghost

Ghost 如何访问子目录?

  •  
  •   sternelee · Jun 11, 2015 · 7499 views
    This topic created in 3994 days ago, the information mentioned may be changed or developed.

    我在Centos系统的VPS上安装了Ghost,并且用0.0.0.0:80来设置。可我现在想把一些静态H5网页放在子目录下来测试和预览,应该怎么实现呀???

    3 replies    2015-06-11 14:14:58 +08:00
    tayuo
        1
    tayuo  
       Jun 11, 2015
    Nginx
    sternelee
        2
    sternelee  
    OP
       Jun 11, 2015
    @tayuo 可我不想再装Apache或者Nginx服务器了,省资源
    orlando2000
        3
    orlando2000  
       Jun 11, 2015   ❤️ 1
    它的静态目录是 ghost/core/shared,里面有sitemap等需要在根目录访问的文件,但我不知到直接放文件到里面行不行,不知道是否需要在ghost/core/serverconfig/url.js里面添加文件格式什么的,你可以试试。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1043 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.