Welcome! Log In Create A New Profile

Advanced

Re: nginx-1.23.3 on Win Server wth HTTPS

All files from this thread

File Name File Size   Posted by Date  
bak.nginx.conf 2.7 KB open | download Kappes, Michael 01/18/2023 Read message
Francis Daly
January 18, 2023 06:04AM
On Wed, Jan 18, 2023 at 08:51:18AM +0000, Kappes, Michael wrote:

Hi there,

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

> 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

In that file,

# HTTPS server

is a comment that should stay a comment.

You should uncomment and adjust the relevant lines that go from

# server {

to the matching

# }

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

Have a "listen" with "ssl", and the correct certificate information.

http://nginx.org/en/docs/http/configuring_https_servers.html

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx-1.23.3 on Win Server wth HTTPS Attachments

Kappes, Michael January 18, 2023 03:52AM

Re: nginx-1.23.3 on Win Server wth HTTPS

Francis Daly January 18, 2023 06:04AM

AW: nginx-1.23.3 on Win Server wth HTTPS

Kappes, Michael January 18, 2023 07:42AM

Re: AW: nginx-1.23.3 on Win Server wth HTTPS

Maxim Dounin January 18, 2023 02:32PM

AW: AW: nginx-1.23.3 on Win Server wth HTTPS

Kappes, Michael January 19, 2023 05:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready