は通常、あなたはこのようになりますあなたのバックエンドのサーバーを持っている:nginxのリバースプロキシ
http://localhost:8084/app-root
、あなたがproxy_passできる
location /app-root { proxy_pass http://localhost:8084; }
内部サーバーhttp://localhost:8084/app-rootにwww.my-domain.com/app-rootを代理します。
素晴らしい!
誰かが、サーバーがようにルートからホスティングを主張する場合は何をすべきかを説明できます: http://localhost:8084/images/image1.jpg
http://localhost:8084/index.htmlが、私はこれが
http://www.my-domain.com/app/index.html
http://www.my-domain.com/app/images/image1.jpgを経由してアクセスできるようにしたいです