Page & subpath cancel / merge if names are qual

Hi guys.

If Ghost is deployed under a subpath, eg:
Nginx’s

location /kupa {
proxy_pass http://127.0.0.1:3001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

and a page with name ‘kupa’ is used in ‘Navigation’, eg.
Kupa - https://my.site/kupa/kupa/
then rendered result is a URL:
https://my.site/kupa/

Quite critical in my opinion, rather urgent perhaps - yes can be easily fixed by the user - for if missed out on by the user then that page is - you know - not there.

many thanks, L.

@lejeczek what url value do you have configured in your config.production.json (or equivalent env var)?

“url”: “https://my.site/kupa”,
ah… and just to cover that part - it’s with/in current/yesterday docker/container I use.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.