Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow root URL path to be configured via environment variable #49

Open
dullage opened this issue Feb 26, 2023 · 5 comments
Open

Allow root URL path to be configured via environment variable #49

dullage opened this issue Feb 26, 2023 · 5 comments
Labels
enhancement Something that is on the roadmap

Comments

@dullage
Copy link
Owner

dullage commented Feb 26, 2023

Suggested in this Reddit post.

@dullage dullage added the enhancement Something that is on the roadmap label Feb 26, 2023
@dullage dullage changed the title Allow root URL path to be configured Allow root URL path to be configured via environment variable Feb 26, 2023
@Tomasz64
Copy link

Tomasz64 commented Feb 26, 2023

Hey, thanks for that - would love to see it implemented.

My use case would be to use reverse proxy (e.g. via nginx) in order to have clean url in my local self-hosted home server

@dullage
Copy link
Owner Author

dullage commented Mar 2, 2023

I'm sure you've already considered this but my workaround suggestion would be to use a different sub-domain e.g. flatnotes.example.com. This is what I do.

@Tomasz64
Copy link

Tomasz64 commented Mar 3, 2023

I'm sure you've already considered this but my workaround suggestion would be to use a different sub-domain e.g. flatnotes.example.com. This is what I do.

Right, this is a way, but currently I'm using notatnion like: "myserver.local/jenkins, myserver.local/portainer" etc.

Thanks!

@pbogre
Copy link
Contributor

pbogre commented Jul 2, 2023

I went insane trying to make this work since my setup also has each service running on a subpath reverse proxy.

This seems to be a FastAPI-related problem however even setting up the root-path variable correctly doesn't seem to be enough, I tried many ways to setup both fastapi's root path and my nginx configuation as suggested here and here but to no avail.

I hope someone can get this working one day 🙏

@dullage
Copy link
Owner Author

dullage commented Feb 6, 2024

Related PR Comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something that is on the roadmap
Projects
None yet
Development

No branches or pull requests

3 participants