Answers for "nginx allow http and 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 https

server {
    listen              443 ssl;
    server_name         www.example.com;
    ssl_certificate     www.example.com.chained.crt;
    ssl_certificate_key www.example.com.key;
    ...
}
Posted by: Guest on July-07-2021

Code answers related to "nginx allow http and https"

C# Answers by Framework

Browse Popular Code Answers by Language