当前位置:网站首页>Varnish 基础概览4
Varnish 基础概览4
2022-06-30 01:21:00 【franket】
基本配置与启动
修改 /etc/varnish/default.vcl
[[email protected] varnish]# vim /etc/varnish/default.vcl
[[email protected] varnish]# grep -v "#" /etc/varnish/default.vcl
vcl 4.0;
backend default {
.host = "www.boohee.com";
.port = "80";
}
sub vcl_recv {
}
sub vcl_backend_response {
}
sub vcl_deliver {
}
[[email protected] varnish]# 重新加载 VCL
[[email protected] varnish]# /etc/init.d/varnish reload
Loading vcl from /etc/varnish/default.vcl
Current running config name is reload_2015-08-19T22:45:05
Using new config name reload_2015-08-19T22:46:38
VCL compiled.
VCL 'reload_2015-08-19T22:46:38' now active
available 0 boot
available 0 reload_2015-08-19T22:43:00
available 0 reload_2015-08-19T22:43:13
available 0 reload_2015-08-19T22:45:05
active 0 reload_2015-08-19T22:46:38
Done
[[email protected] varnish]# 边栏推荐
- Statsmodels notes STL
- [Simulation Proteus] détection de port 8 bits 8 touches indépendantes
- I, 33 years old, ByteDance test development, unveiled the real income of Beijing "test post"
- Visual Studio 2017 无法打开包括文件: “QOpenGLFunctions_3_3_Core”: No such file or directory
- [MRCTF2020]Ezpop-1|php序列化
- 首届·技术播客月开播在即
- 首届技术播客月开播在即
- SFDP super form development platform v6.0.4 was officially released
- Understand the module function of MES management system
- How does webapi relate to the database of MS SQL?
猜你喜欢

第八届“互联网+”大赛 | 云原生赛道邀你来挑战

How to seamlessly transition from traditional microservice framework to service grid ASM

Sfdp 超级表单开发平台 V6.0.4 正式发布

Resizekit2.net size and resolution independent

I, 33 years old, ByteDance test development, unveiled the real income of Beijing "test post"

Sentinel source code analysis Part 7 - sentinel adapter module - Summary

The first unlucky person watching eth 2.0

Seata and the three platforms are working together in the summer of programming. Millions of bonuses are waiting for you

What if you can't write your composition well? Ape counseling: parents should pay attention to these points

如何拒绝期末复习无用功?猿辅导:找准适合自己的复习方法很重要
随机推荐
如何统一项目中包管理器的使用?
挖财的课程靠谱吗,让开户安全吗?
Can mango hypermedia, which "braves the wind and waves", go ashore?
ResizeKit2.NET大小和分辨率独立
How latex enters a matrix
What is digital garbage? Follow the world's first AI artist to explore meta carbon Art
post请求出现WebKitFormBoundaryk的解决办法
Solving plane stress problem with MATLAB
【535. TinyURL 的加密与解密】
81. search rotation sort array II
Seata 与三大平台携手编程之夏,百万奖金等你来拿
Analysis of natural frequency and buckling load of cylinder by finite element method
Taguchi experimental method
存储引擎分析
CSV文件格式——方便好用个头最小的数据传递方式
Good test / development programmers vs. average programmers
R language linear regression model fitting diagnosis outliers analysis of domestic gas consumption and calorie examples with self-test questions
Quick Pow: 如何快速求幂
Stimulus reports reporting tool, stimulus creates and builds reports
The 8th "Internet +" competition - cloud native track invites you to challenge