PutVarnish on port 80(使varnish工作在 80 端口上)

PutVarnish on port 80(使 varnish工作在 80 端口上)
如果您的程序正常运行,没有问题,我们就可以把varnish调整到80端口运行。先关闭vernish

pkill varnishd

然后停止您的 web服务器,修改web服务器配置,把 web服务器修改成监听8080端口,然后修改varnish 的default.vcl和改变默认的后端服务器端口为8080.
先启动您的web服务器,然后在启动varnish:

varnishd -f /usr/local/etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000

我们取消了-a 选项,这样varnish将监控默认端口,启动后,检查您的 web程序是否正常。

相关教程:

varnish中Varnishlog命令解析:http://blog.haohtml.com/archives/12014

linux下varnish配置及使用教程:http://blog.haohtml.com/archives/11985

Varnish Configuration Language – VCL (varnish 配置 语言-VCL):http://blog.haohtml.com/archives/12024

varnish中的Statistics(统计 varnish相关数据)-Varnishtop ,Varnishhist ,Varnishsizes ,Varnishstat:http://blog.haohtml.com/archives/12036

bankend Server后端服务高级配置:http://blog.haohtml.com/archives/12044

varnish中的backends 组Directors:http://blog.haohtml.com/archives/12049

varnish中常用的排错方法:http://blog.haohtml.com/archives/12055

33 thoughts on “PutVarnish on port 80(使varnish工作在 80 端口上)

  1. Pingback: marketing for dummies book

  2. Pingback: กู้เงิน ชัยภูมิ

  3. Pingback: studio

  4. Pingback: w88top.com

  5. Pingback: 바카라

  6. Pingback: p2335#https://perfumex.com.pl/forum/gadki-na-dowolny-temat-f22/czy-warto-wziac-kredyt-t488.html#p2335

  7. Pingback: cornhole game

  8. Pingback: Cryptonia Market Exit Scam

  9. Pingback: sahabat qq

  10. Pingback: paragnost

  11. Pingback: 메이저놀이터

  12. Pingback: Research

  13. Pingback: porn

  14. Pingback: laliga188

  15. Pingback: auto generated contents

  16. Pingback: fake rolex sub date

  17. Pingback: search

  18. Pingback: https://food4you24.pl/

  19. Pingback: http://www.associazioneridere.it/?option=com_k2&view=itemlist&task=user&id=1622865

  20. Pingback: bahis siteleri

  21. Pingback: 바카라

  22. Pingback: guaranteed ppc

  23. Pingback: w88hello.com

  24. Pingback: mobile online casino apps

  25. Pingback: sidang

  26. Pingback: Sledge emergency plumber

  27. Pingback: click here

  28. Pingback: ae inspired 3d transitions video star

  29. Pingback: swiss made replica watches

  30. Pingback: viagra online generic

  31. Pingback: PI News Wire

  32. Pingback: mơ thấy xe tải

  33. Pingback: cialis dosing

Comments are closed.