Postleaf / postleaf

Simple, beautiful publishing with Node.js.
https://www.postleaf.org/
MIT License
505 stars 204 forks source link

Install to a subfolder #90

Open kylechine opened 6 years ago

kylechine commented 6 years ago

Summary

I'm planning to install two Postleaf instances to

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

claviska commented 6 years ago

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