I have two servers.
Server 1: 185.185.xxx.xxx (this is the main server with domain mydomain.com)
Server 2: 176.28.xxx.xxx
On the first server I added A zone
A cdn 176.28.xxx.xxx
When I type cdn.mydomain.com this link will open 176.28.xxx.xxx (I'm already set host)
And this is working fine.
WHAT I NEED
When user type mydomain.com/cdn I need to open same as cdn.mydomain.com (on second server)
example
user type: mydomain.com/cdn/myphotos.zip
need to open: cdn.mydomain.com/myphotos.zip
How to set this?
I'm trying, but no luck. I'm have Ubuntu and Nginx. No Apache. I'm need config for ngnix. Can anybody help me? Thanks