nginx-1.23.3 on Win Server wth HTTPS

Kappes, Michael Michael.Kappes at
Wed Jan 18 08:51:18 UTC 2023


i will use nginx-1.23.3 on a Win Server, inclusiv HTTPS

After unpacking the ZIP file I have a "nginx.conf" file which I edit, from line 98, the HTTPS server block starts there.

I enter the absolute path to the CA and KEY file (Windows like path) but NGINX refuses to accept HTTPS.

I restart NGINX from CMD =>

C:\nginx\nginx-1.23.3>nginx -s reload
nginx: [emerg] unknown directive "HTTPS" in C:\nginx\nginx-1.23.3/conf/nginx.conf:98

I test with c:\CERT\my_cert
I test with CERT/my_cert

Both does not work

What do I have to do so that NGINX also accepts HTTPS connections?



Berufsförderungswerk Berlin-Brandenburg e. V.
Epiphanienweg 1, 14059 Berlin
Telefon: +49 30 30399 0
<tel:+49%2030%20303990>info at<mailto:info at>
Amtsgericht Charlottenburg
VR 3642 Nz, Steuer-Nr. 27/661/55590
Vorstandsvorsitzender: Stefan Moschko
Geschäftsführung: Thomas Kastner, Andreas Braatz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bak.nginx.conf
Type: application/octet-stream
Size: 2773 bytes
Desc: bak.nginx.conf
URL: <>

More information about the nginx mailing list