Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Does not work correctly behind a Nginx Reverse Proxy with context root other than '/' #6

@ShahBinoy

Description

@ShahBinoy

I am using nginx as a reverse proxy in front of relumin. below is the config

   location /cluster {
            proxy_pass http://72.128.146.180:9090;
            proxy_set_header  X-Real-IP $remote_addr;
            proxy_set_header  X-Forwarded-For $http_x_forwarded_for;
            proxy_set_header REMOTE_ADDR $http_x_real_ip;
            proxy_set_header Host $http_host;
    }
    location /login {
            proxy_pass http://72.128.146.180:9090/login;
            proxy_set_header  X-Real-IP $remote_addr;
            proxy_set_header  X-Forwarded-For $http_x_forwarded_for;
            proxy_set_header REMOTE_ADDR $http_x_real_ip;
            proxy_set_header Host $http_host;
    }
    location /vendor {
            proxy_pass http://72.128.146.180:9090/vendor;
            proxy_set_header  X-Real-IP $remote_addr;
            proxy_set_header  X-Forwarded-For $http_x_forwarded_for;
            proxy_set_header REMOTE_ADDR $http_x_real_ip;
            proxy_set_header Host $http_host;
    }

But after login the redirection happens to '/' root context and the application does not work further than that.

Can this be changed to redirecting to the relative root context ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions