Varnish 서브도메인 그대로 넘기기

1 개요[ | ]

Configure varnish to pipe all subdomains
Varnish 서브도메인 그대로 넘기기
Varnish 포트만 바꿔 연결하기
  • 다음과 같이 도메인을 그대로 넘기고 싶은 경우
example.com:6081 → example.com:8080
hello.example.com:6081 → hello.example.com:8080
world.example.com:6081 → world.example.com:8080
backend default {
  .host = "127.0.0.1";
  .port = "8080";
}

sub vcl_recv {
  set req.backend_hint = default;
  return( pipe );
}

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}