mirror of
https://github.com/itiligent/Easy-Guacamole-Installer.git
synced 2025-12-13 18:02:32 +00:00
change nginx defaults to tls1.2 and above
This commit is contained in:
parent
c774b3cc95
commit
7a6d92ce89
1 changed files with 6 additions and 0 deletions
|
|
@ -51,6 +51,12 @@ else
|
|||
echo
|
||||
fi
|
||||
|
||||
# Force nginx to require tls1.2 and above
|
||||
sudo sed -i -e '/ssl_protocols/s/^/#/' /etc/nginx/nginx.conf
|
||||
sudo sed -i "/SSL Settings/a \ ssl_protocols TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE" /etc/nginx/nginx.conf
|
||||
|
||||
|
||||
|
||||
# Symlink from sites-available to sites-enabled
|
||||
ln -s /etc/nginx/sites-available/$PROXY_SITE /etc/nginx/sites-enabled/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue