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

Run from sub-path #250

Open
jfstenuit opened this issue Feb 27, 2025 · 3 comments
Open

Run from sub-path #250

jfstenuit opened this issue Feb 27, 2025 · 3 comments

Comments

@jfstenuit
Copy link

This is a feature request to be able to run eml_analyzer from below a sub-path.

eml_analyzer is run from docker compose on http://127.0.0.1:8005/ , which is accessed from a reverse proxy at https://mylab.example.com/eml_analyzer/

I tried to use "BACKEND_URL" in the .env file, but without success. The app still attempts to load js and css from /assets (instead of from /eml_analyzer/assets ) .

@ninoseki
Copy link
Owner

I think there is no straightforward way for that in eml_analyzer side.
How about using a reverse proxy?
For example https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/.

@ninoseki
Copy link
Owner

Ah, I haven't tried but this guide may help you.
https://dev.to/dhgouveia/how-to-serve-a-vite-vue3-page-inside-a-sub-folder-5h8a

@jfstenuit
Copy link
Author

I attempted some changes on eml_analyzer in #251 . Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants