chore: update nginx config, add oneapi, verification pages and codebuddy skills
This commit is contained in:
18
nginx/conf.d/v.conf
Normal file
18
nginx/conf.d/v.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name v.membank.xyz;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html/v;
|
||||
index index.html index.htm;
|
||||
|
||||
# 启用目录浏览(可选)
|
||||
autoindex on;
|
||||
|
||||
# 添加缓存配置
|
||||
location ~* \.(html|css|js|png|jpg|jpeg|gif|ico|svg)$ {
|
||||
expires 1d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user