Skip to content

How to run LiGet behind an Nginx Reverse Proxy #36

@nakedelement-gb

Description

@nakedelement-gb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions