Nginx Error: unknown directive "Nobelium? In F:\nginx/conf/nginx.conf:3

Source: Internet
Author: User

c:\users\administrator>d:

D:\>CD D:\nginx-1.4.7

D:\nginx-1.4.7>start Nginx.exe

D:\nginx-1.4.7>nginx-s Reload
nginx: [Emerg] unknown directive "Nobelium? In D:\nginx-1.4.7/conf/nginx.conf:3

D:\nginx-1.4.7>nginx-s Reload
nginx: [Emerg] unknown directive "Nobelium? In D:\nginx-1.4.7/conf/nginx.conf:3

d:\nginx-1.4.7>tasklist/fi "imagename eq nginx.exe"

Image Name PID session name Session # Memory Usage
========================= ======== ================ =========== ============
nginx.exe 3036 rdp-tcp#0 2 5,344 K
nginx.exe 3088 rdp-tcp#0 2 5,624 K

d:\nginx-1.4.7>nginx-s Stop
nginx: [Emerg] unknown directive "Nobelium? In D:\nginx-1.4.7/conf/nginx.conf:3

d:\nginx-1.4.7>





Causes and solutions:
conf file is edited by Notepad and saved as a file with BOM header
Use a different editor to save a file as a UTF-8 format with no BOM header
Note: Notepad editor UTF-8 will add BOM header

Nginx Error: unknown directive "Nobelium? In F:\nginx/conf/nginx.conf:3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.