You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: