nginx启动时报错:server name "http://ylngsmart.com/" has suspicious symbols in D:\program\nginx-1.20.0/conf/nginx.conf:37
我在配置文件中写的是这样的:
错误原因:nginx要求 server_name 不能包含“/”
错误:server_name http://xxx.com;
正确:server_name xxx.com;
nginx启动时报错:server name "http://ylngsmart.com/" has suspicious symbols in D:\program\nginx-1.20.0/conf/nginx.conf:37
我在配置文件中写的是这样的:
错误原因:nginx要求 server_name 不能包含“/”
错误:server_name http://xxx.com;
正确:server_name xxx.com;