바니시를 구성 할 수 없습니다. 도와주세요!바니쉬 + nginx + ISPConfig
Nginx 1.10, Varnish 4.1.1, ISPconfig를 설정했습니다.
은/etc/기본/니스
DAEMON_OPTS="-a :6081 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,512m"
을/etc/니스/default.vcl
backend default {
.host = "127.0.0.1";
.port = "81";
}
acl purge {
"localhost";
"127.0.0.1";
}
Nginx에 가상 호스트의/etc/nginx를/사이트-가능/MyDomain.com.vhost
server {
listen *:81;
...
내가 MyDomain.com을 visite에 때 내 서버의 IP 주소에서 나 내용을 보여줍니다 의/var/www /에서 HTML /index.html를 대신은/var/www /에서 MyDomain.com /web/index.html
무엇이 잘못 되었나요? 무엇을 먼저 봐야할지 모르겠다. 디버깅하는 방법은 무엇입니까?