在Nginx中关闭缓存

时间:2018-04-05 11:51:47

标签: ubuntu nginx caching

我一直在我的服务器上收到此错误日志。

2018-04-05 13:51:28
[66.249.93.22][-][-][warning][yii\log\Dispatcher::dispatch] Unable to
send log via yii\log\FileTarget: Exception (Invalid Configuration)
'yii\base\InvalidConfigException' with message 'Unable to append to
log file: /var/www/html/translate/runtime/logs/all-levels.log'

in /var/www/html/translate/vendor/yiisoft/yii2/log/FileTarget.php:108

Stack trace:
#0 /var/www/html/translate/vendor/yiisoft/yii2/log/Target.php(124):
yii\log\FileTarget->export()
#1
/var/www/html/translate/vendor/yiisoft/yii2/log/Dispatcher.php(188):
yii\log\Target->collect(Array, true)
#2 /var/www/html/translate/vendor/yiisoft/yii2/log/Logger.php(177):
yii\log\Dispatcher->dispatch(Array, true)
#3 [internal function]: yii\log\Logger->flush(true)
#4 {main}

它是Ubuntu上的nginx服务器。我应该关闭nginx中的缓存吗?

0 个答案:

没有答案