removed ssl stapling
This commit is contained in:
parent
787f57c34a
commit
41d778e14f
10
deploy.sh
10
deploy.sh
@ -19,7 +19,7 @@ read -p "Enter Site Name: " siteName
|
|||||||
read -p "Enter Site Title: " siteTitle
|
read -p "Enter Site Title: " siteTitle
|
||||||
read -p "SSL [Y/n]: " siteProtoIn
|
read -p "SSL [Y/n]: " siteProtoIn
|
||||||
read -p "Certbot ready? [Y/n]: " cbReady
|
read -p "Certbot ready? [Y/n]: " cbReady
|
||||||
read -p "Enter Site URL [without http/s]" siteURL
|
read -p "Enter Site URL [without http/s]: " siteURL
|
||||||
read -p "Enter WPAdmin email: " adminEmail
|
read -p "Enter WPAdmin email: " adminEmail
|
||||||
|
|
||||||
if [[ $siteProtoIn == "n" ]]; then
|
if [[ $siteProtoIn == "n" ]]; then
|
||||||
@ -178,10 +178,10 @@ server {
|
|||||||
ssl_session_cache shared:SSL:10m;
|
ssl_session_cache shared:SSL:10m;
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
|
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
ssl_stapling on;
|
#ssl_stapling on;
|
||||||
ssl_stapling_verify on;
|
#ssl_stapling_verify on;
|
||||||
resolver 8.8.8.8 4.2.2.1 valid=300s;
|
#resolver 8.8.8.8 4.2.2.1 valid=300s;
|
||||||
resolver_timeout 5s;
|
#resolver_timeout 5s;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user