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

How to run LiGet behind an Nginx Reverse Proxy #36

Open
nakedelement-gb opened this issue Aug 5, 2020 · 0 comments
Open

How to run LiGet behind an Nginx Reverse Proxy #36

nakedelement-gb opened this issue Aug 5, 2020 · 0 comments

Comments

@nakedelement-gb
Copy link

nakedelement-gb commented Aug 5, 2020

I want to be able to run LiGet behind an Nginx Reverse Proxy:

 location  /liget {
            rewrite /liget/(.*) /$1  break;
            proxy_pass         http://liget:9011;
            proxy_redirect     off;
            proxy_set_header   Host $host;
        }

The issue I've got is convincing LiGet to load the SPA JS from /liget/, rather than /. I can't find a suitable setting and I've failed to build LiGet, to make my own changes, on both Windows and Linux.

Any help greatly appreciated.

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

1 participant