«

宝塔

azurekiln 发布于 阅读:10


server {
    listen 80;
    server_name azurekiln.cn;

    location / {
        root /www/wwwroot/azurekiln.cn;
        index index.html;
    }

    location /apt/termux-root/ {
        root /www/wwwroot/azurekiln.cn;
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;
    }
}
保存失败,因为检测到被修改的配置文件存在错误:

nginx version: nginx/1.26.3 
 nginx: [emerg] "server" directive is not allowed here in /www/server/panel/vhost/rewrite/debian-repo.azurekiln.cn.conf:1
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed


扫描二维码,在手机上阅读
收藏
请先 登录 再评论