cors
摘要:在Nginx中配置access-control-allow-origin通常是为了允许跨域请求。可以通过在Nginx配置文件中添加以下代码来配置access-control-allow-origin: location / { add_header Access-Control-Allow-Orig
阅读全文
posted @
2024-04-17 10:35
daofree
阅读(8)
推荐(0) 编辑
linux启定时脚本
摘要:crontab -e* * * * * /data/xxx.sh >> /data/xxx.log 2>&1 ps -ef | grep 'xxx' | grep -v grep | awk '{print $2}' | xargs -r kill -9cd /data
阅读全文
posted @
2024-04-07 15:25
daofree
阅读(5)
推荐(0) 编辑