Answers for "nginx configure for https"

C#
0

nginx listen on 80 and 443

server {
    listen 80;
    listen 443 default_server ssl;

    # other directives
}
Posted by: Guest on September-22-2020
-1

nginx local setup https

$ openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.key -out localhost.crt
Posted by: Guest on August-14-2020

C# Answers by Framework

Browse Popular Code Answers by Language