Skip to content

Reverse Proxy Config info #2848

@GettingTechnicl

Description

@GettingTechnicl

Hello, I'm having issue setting up Tracks to work through my nginx docker.

Tracks is working properly at IP:3000, however I want this behind my existing nginx configuration.

What I currently have in place and it is not working is

location /tracks {
return 301 $scheme://$host/tracks/;
}

location ^~ /tracks/ {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://xxx.xxx.xxx.xxx:3000/;
rewrite /login(.*) $1 break;
}

if ($http_referer ~* /tracks) {
rewrite ^/login /login/$1? redirect;
}

When accessing the page at domain.com/tracks it changes the url to domain.com/login and shows me splash screen to my webserver as if I hit a webpage that does not exist.

Any help is appreciated. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions