0
역방향 프록시 설정을 할 때
보통, 당신은 다음과 같습니다 백엔드에 서버가 :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를 통해 액세스하려면,