FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


Sidebar


Top     SiteMap

Manager Server

Target Server

$FHHOME/bin/xxx.sh | xxxx.exp













.

Action disabled: source
middleware:nginx:https.html



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)



middleware/nginx/https.html.txt ยท Last modified: 2017/12/30 15:59 by kurihara