Nginx (nginx.py)

Nginx configuration for HTTPS

https.example.com.conf

$FHHOME/conf/nginx/https.example.com.conf

#====================================================================
# /etc/nginx/conf.d/example.conf  (RHEL/CentOS)
# /etc/nginx/conf.d/sites-available/example.conf  (Ubuntu)
#
#====================================================================
server {
    listen 80;
    server_name example.com;
    return 301 https://$host$request_uri;
}

server {
    listen   443 ssl http2;
    server_name  example.com;

    ssl on;
    ssl_certificate      /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key  /etc/letsencrypt/live/example.com/privkey.pem;

    .
    .
    .

}


Nginx (nginx.py)



Nginx (nginx.py)