Real links can be longer, with subdomains and, most importantly, not easy to remember.
For internal purposes we should use our own domain mydomain[dot]com.
Where Iβm stuck: On nginx, according to the manual it doesnβt quite work, in fact, only the domain is successfully substituted, but the path is not.
One thing that would help greatly here is to include your sanitized NGINX config(s). This will help with context and give a better picture of how NGINX will process incoming requests.
The nginx.conf can be found in /etc/nginx in most cases.
I am also including a blog post, I think may help, if I am understanding your use case correctly.
Hey @Araxis_Keshju! Have you been able to play with the rewrite directive? You should be able to accomplish your goal using various rewrite regex to modify your domain paths/locations in combination with proxy_pass to change your target domain.