nginx: [emerg] unknown directive “锘? in C:\Users\dell\Desktop\nginx/conf/nginx.conf:3

After opening the nginx.conf file with Notepad, an error is reported when restarting nginx.

报错:nginx: [emerg] unknown directive "锘? in C:\Users\dell\Desktop\nginx/conf/nginx.conf:3

Solution: Use software to modify the encoding format of the nginx.conf file to UTF-8.

Guess you like

Origin blog.csdn.net/weixin_46205984/article/details/129354609