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:
fix(nginx-config): parse custom config error #699
92dc61e
这个是我的锅,跟 gonginx 无关,已在 92dc61e 修复,下个版本发布。
补充说明一下,rc.6 将会加入一个新的功能用于图形化配置 Proxy Cache,未来您可以直接在图形界面中修改 proxy_cache_path 的参数
Sorry, something went wrong.
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: