Postleaf / postleaf

Simple, beautiful publishing with Node.js.

Home Page:https://www.postleaf.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install to a subfolder

kylechine opened this issue · comments

Summary

I'm planning to install two Postleaf instances to

  • blog.mydomain.com/en
  • blog.mydomain.com/zh

for my English blog and Chinese blog respectively.

After installation and configuration (Nginx as the reverse proxy). I found there are a lot of absolute references hard-coded in Postleaf, which prevents my instance work properly.

Expection

I thought in .env, APP_URL should be a full web-access URL (instead of just https://example.com/), and used to compose internal references.

Thanks for your wonderful work.

Steps to Reproduce

  1. Install Postleaf
  2. Configuration
  3. Access from browser.

Additional info

  • Postleaf version: 1.0
  • Node version: 8.11.1
  • Operating system: Debian 9

This isn't currently supported. I would welcome a PR to allow this but it's going to take some effort :)