/opt
βββ ssl
βββ bin
βββ include
βΒ Β βββ openssl
βββ lib64
βΒ Β βββ engines-3
The SSH keepalive value determines how often an idle SSH connection will send a message to the remote host to keep the connection alive. If the connection is idle for longer than the keepalive value, the connection will be closed.
To prevent Ansible from hanging due to idle SSH connections, it is recommended to set an appropriate SSH keepalive value. A common value for this parameter is 60 seconds. This value can be set in the ssh_args parameter in your Ansible inventory file, like this:
ansible_ssh_common_args='-o ServerAliveInterval=60'
Alternatively, you can set this value in your SSH configuration file (~/.ssh/config) using the following syntax:
# found here | |
# https://raghuvirkasturi.com/yearly-ritual/ | |
worker_processes auto; | |
user [whatever user you use]; | |
events { | |
worker_connections 1024; | |
} | |
http { |
python3 -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin, Loader=yaml.FullLoader), sys.stdout, indent=4)' < input.yaml > output.json
Nginx can be configured to route to a backend, based on the server's domain name, which is included in the SSL/TLS handshake (Server Name Indication, SNI).
This works for http upstream servers, but also for other protocols, that can be secured with TLS.
- at least nginx 1.15.9 to use variables in ssl_certificate and ssl_certificate_key.
- check
nginx -V
for the following:... TLS SNI support enabled
# | |
# Name: nginx-tls.conf | |
# Auth: Gavin Lloyd <[email protected]> | |
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
# | |
# Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
# to SSL/TLS are not included here. | |
# | |
# Additional tips: | |
# |
const words = [ | |
// Borrowed from xkcd password generator which borrowed it from wherever | |
"ability","able","aboard","about","above","accept","accident","according", | |
"account","accurate","acres","across","act","action","active","activity", | |
"actual","actually","add","addition","additional","adjective","adult","adventure", | |
"advice","affect","afraid","after","afternoon","again","against","age", | |
"ago","agree","ahead","aid","air","airplane","alike","alive", | |
"all","allow","almost","alone","along","aloud","alphabet","already", | |
"also","although","am","among","amount","ancient","angle","angry", | |
"animal","announced","another","answer","ants","any","anybody","anyone", |
# -*- coding: utf-8 -*- | |
# @author: Peter Lamut | |
import argparse | |
import os | |
import shutil | |
N = 10 # the number of files in seach subfolder folder | |