@ddmitrienko That is correct. However if you also have a Docker container that the root URL of the domain / subdomain points to via A Docker proxy rule, it will take precedence over the secondary URL ones, due to where the include statement is in the nginx config. So what I had to do was to...
The solution is to modify your nginx.conf file to rewrite the URL before passing it to the container, like this:
location /test/ {
rewrite /test/(.*) /$1 break;
proxy_pass http://0.0.0.0:3000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP...
The solution is to modify your nginx.conf file to rewrite the URL before passing it to the container, like this:
location /portainer/ {
rewrite /portainer/(.*) /$1 break;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://0.0.0.0:39000;
}
Hopefully this will also be...