Install using docker and external nginx server in different setup

check this post ERPNext behind NGINX Reverse Proxy - #2 by revant_one