We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当我使用下面这行nginx配置文件时,在保存过后,会给出保存完成的提示
proxy_cache_path /home/xiaoc/nginx_cache/test/cache levels=1:2 keys_zone=img_speed:50m inactive=60m max_size=100m; server { server_name test.com; listen 1023; }
但是当我点击右上角的高级模式,准备切换回普通模式的时候,会出现如下的报错提示
高级模式
普通模式
当我手动把第一行配置文件注释掉过后,又能正常保存了
proxy_cache_path
禁用
/etc/nginx/sites-enabled
test.conf
我用的是openresty,不知道和这个有没有关系,我的app.ini中的nginx配置如下
openresty
app.ini
nginx
[nginx] AccessLogPath = /usr/local/openresty/nginx/logs/access.log ErrorLogPath = /usr/local/openresty/nginx/logs/error.log LogDirWhiteList = /usr/local/openresty/nginx/logs/ ConfigDir = /etc/nginx PIDPath = /usr/local/openresty/nginx/logs/nginx.pid TestConfigCmd = /usr/local/openresty/nginx/sbin/nginx -t ReloadCmd = /usr/local/openresty/nginx/sbin/nginx -s reload RestartCmd = /usr/local/openresty/nginx/sbin/nginx -s reload
The text was updated successfully, but these errors were encountered:
跟 openresty 没啥关系,这个应该是我们用 gonginx 解析器的 bug,但是很遗憾的是,有关 gonginx 的问题目前处理会暂缓
Sorry, something went wrong.
你可以先将这个命令放到 nginx.conf 里,这样解析器不会处理这一行,这样暂时能用起来
不要关闭,这个问题后续会跟进
No branches or pull requests
当我使用下面这行nginx配置文件时,在保存过后,会给出保存完成的提示
但是当我点击右上角的
高级模式
,准备切换回普通模式
的时候,会出现如下的报错提示当我手动把第一行配置文件注释掉过后,又能正常保存了
proxy_cache_path
,就会有这个错误提示。禁用
,但实际上在/etc/nginx/sites-enabled
下是有test.conf
这个文件的)The text was updated successfully, but these errors were encountered: