This is one of many rules of an Apache PHP (symlink) app:
RewriteRule ^home/work-with-us/$ /work-with-us [R=301,L]
This works, but through 2 redirects (which is wrong). If the domain is domain.com:
I suspect this might be due to nginx proxying the apache server. Is there a way, without manually declaring the domain in the redirect rule, to skip the double rewrite
TIA
note: the rule works via a RewriteBase /
rule before it