Skip to content

Suggestion: Better reverse proxy support #38

Description

@zhv

Hello @salilponde,

I tried to setup dokemon under reverse proxy (nginx in my case) with custom URL path prefix but seems dokemon does not support such deployment mode. As I see dokemon serves frontend resources with / hardcoded in the beginning. Is it possible to change resources/REST API calls to be served with relative path?

nginx config example:

server {
    listen      80;
    location /dokemon/ {
        proxy_pass http://dokemon:9090/; # might be localhost or whatever your host
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

PS: Thank you for such great software product! BR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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