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

[BUG] Issue with proxy configuration and Base Href in Fuxa #1036

Open
mauroalexandre opened this issue Jan 2, 2024 · 0 comments
Open

[BUG] Issue with proxy configuration and Base Href in Fuxa #1036

mauroalexandre opened this issue Jan 2, 2024 · 0 comments
Labels

Comments

@mauroalexandre
Copy link
Contributor

mauroalexandre commented Jan 2, 2024

Hello, I'm not sure if I'm making a mistake in the proxy configuration, but when I try to run Fuxa on a different URI (for example, /SCADA), with both the frontend and backend served by the backend, it doesn't work. I need to replace the base_href in index.html and remove the / or add my URI, after which it works. A question: is this base href / really necessary?

Here is my web server (nginx) configuration:

    server {
        listen       80;
        server_name  localhost;

        location /SCADA/ {
            proxy_pass http://localhost:1881/;
        }
    }

Any insights or suggestions on how to resolve this issue would be greatly appreciated.

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

No branches or pull requests

2 participants