系统 centos7 64位
nginx version: nginx/1.16.1
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2l 25 May 2017
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module --with-openssl=/home/msfcrot/lnmp1.4-full/src/openssl-1.0.2l --with-ld-opt=-Wl,-rpath,/usr/local/luajit/lib --add-module=/usr/src/ngx_devel_kit-0.3.1 --add-module=/usr/src/lua-nginx-module-0.10.13
配置好以下三个文件后:
include /opt/verynginx/verynginx/nginx_conf/in_external.conf;
include /opt/verynginx/verynginx/nginx_conf/in_http_block.conf;
include /opt/verynginx/verynginx/nginx_conf/in_server_block.conf;
nginx版本与模块信息:
系统 centos7 64位 nginx version: nginx/1.16.1 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) built with OpenSSL 1.0.2l 25 May 2017 TLS SNI support enabled configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module --with-openssl=/home/msfcrot/lnmp1.4-full/src/openssl-1.0.2l --with-ld-opt=-Wl,-rpath,/usr/local/luajit/lib --add-module=/usr/src/ngx_devel_kit-0.3.1 --add-module=/usr/src/lua-nginx-module-0.10.13
配置好以下三个文件后: include /opt/verynginx/verynginx/nginx_conf/in_external.conf; include /opt/verynginx/verynginx/nginx_conf/in_http_block.conf; include /opt/verynginx/verynginx/nginx_conf/in_server_block.conf;
访问网站或者verynginx/index.html都显示500错误,nginx正常启动没有错误日志