重新开放
发布

#######################################################################
# OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ #
# For more information please visit https://oneinstack.com #
#######################################################################
Do you want to setup SSL under Nginx? [y/n]: n
Please input domain(example: http://www.linuxeye.com): demo.local.dev
domain=demo.local.dev
Do you want to add more domain name? [y/n]: n
Please input the directory for the domain:demo.local.dev :
(Default directory: /data/wwwroot/demo.local.dev):
Virtual Host Directory=/data/wwwroot/demo.local.dev
Create Virtul Host directory……
set permissions of Virtual Host directory……
Do you want to add hotlink protection? [y/n]: n
Allow Rewrite rule? [y/n]: y
Please input the rewrite of programme :
wordpress,discuz,opencart,thinkphp,laravel,typecho,ecshop,drupal,joomla rewrite was exist.
(Default rewrite: other):wordpress
You choose rewrite=wordpress
Allow Nginx/Tengine/OpenResty access_log? [y/n]: y
You access log file=/data/wwwlogs/demo.local.dev_nginx.log
nginx: [emerg] “server” directive is not allowed here in /usr/local/nginx/conf/rewrite/dokuwiki.conf:1
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Create virtualhost … [FAILED]

2 答案

发布
管理员 2016-08-12

伪静态语法错误

#1
发布

我也是,很多人都有这问题

#2

请登录或者 注册 来提交答案