mirror of
https://gh.llkk.cc/https://github.com/WeblateOrg/scripts.git
synced 2025-10-03 15:01:00 +08:00
fix: apply shell formatting
This commit is contained in:
parent
b87618e8cb
commit
925b32ddab
14 changed files with 383 additions and 383 deletions
|
@ -9,7 +9,7 @@ sed -i '/\/etc\/letsencrypt\/options-ssl-nginx.conf/ D' /etc/nginx/sites-availab
|
|||
sed -i -e '/ssl_protocols/D' -e '/ssl_prefer_server_ciphers/D' /etc/nginx/nginx.conf
|
||||
|
||||
# Update SSL config
|
||||
cat >/etc/nginx/conf.d/ssl.conf <<EOT
|
||||
cat > /etc/nginx/conf.d/ssl.conf << EOT
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:SSL:50m;
|
||||
ssl_session_tickets off;
|
||||
|
@ -26,7 +26,7 @@ EOT
|
|||
|
||||
# Update DH params
|
||||
if [ ! -f /etc/nginx/ffdhe4096.pem ]; then
|
||||
curl https://ssl-config.mozilla.org/ffdhe2048.txt >/etc/nginx/ffdhe4096.pem
|
||||
curl https://ssl-config.mozilla.org/ffdhe2048.txt > /etc/nginx/ffdhe4096.pem
|
||||
fi
|
||||
|
||||
# Reload ngxin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue