-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature: Specify web root inside an env variable. #180
Comments
+1 |
Does not seem to be working, I'm afraid. here is my docker run command: (in my case the container image was named convertx:2024.11, replace with whatever the image name you build with) and here is my nginx proxy config: location /convertx01/ { |
What does the docker logs say? I copied your docker command and run it locally, and it works and respects WEBROOT |
I quickly downloaded the project again and built the container again. But it still does not seem to be working I'm afraid. Did you try accessing http://localhost:3000/webroot http://localhost:3000/webroot isn't working for me. Logs are below (nothing too exciting). It does however work if I accessed http://localhost:3000/ directly. It prompts me to create an account. If you did a proxy_pass, can you share your nginx config? I'm guessing you did some url rewrite?
|
You have to switch to the correct branch. It isn't merged to the main branch yet I didnt use nginx just local |
Ah! My mistake. Just tried with the correct branch, tried a few conversions and all worked as expected. Cheers! |
Works for me as well, thank you. |
Thanks for testing it! |
I would like to run this container behind nginx, at a subpath like
example.com/convert/
. Currently this is not possible.I think adding an environment variable such as
WEBROOT=/convert/
would allow such an usecase.The text was updated successfully, but these errors were encountered: