Initial YakPanel commit
This commit is contained in:
21
vhost/template/nginx/other.conf
Normal file
21
vhost/template/nginx/other.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
#允许请求SSL验证目录
|
||||
location ~ \.well-known
|
||||
{
|
||||
allow all;
|
||||
}
|
||||
|
||||
#图片缓存设置
|
||||
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|ico)$
|
||||
{
|
||||
expires 30d;
|
||||
error_log /dev/null;
|
||||
access_log /dev/null;
|
||||
}
|
||||
|
||||
#js/css缓存设置
|
||||
location ~ .*\.(js|css)?$
|
||||
{
|
||||
expires 12h;
|
||||
error_log /dev/null;
|
||||
access_log /dev/null;
|
||||
}
|
||||
Reference in New Issue
Block a user