Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Impossible to set "root": "/" #155

Closed
cooperka opened this issue Jan 31, 2020 · 3 comments
Closed

Impossible to set "root": "/" #155

cooperka opened this issue Jan 31, 2020 · 3 comments

Comments

@cooperka
Copy link

I'd hypothetically like to serve all my assets statically; there's nothing private here.

Setting "root": "/" causes everything to mysteriously 404 with no explanation.

@norin89
Copy link

norin89 commented Mar 10, 2020

I had the same issue recently. Try "root": "." instead - worked for me.

@thanhnhan2tn
Copy link

if the root is . or /, I dont think you need this build pack. You can try another way like this:
https://gist.github.com/wh1tney/2ad13aa5fbdd83f6a489

@edmorley
Copy link
Member

edmorley commented Jun 9, 2022

Hi

This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.

As such, I'm closing this issue out since we won't be making further changes to this buildpack.

@edmorley edmorley closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants