Ssl_certificate_key /etc/nginx/certificate.key Ssl_certificate /etc/nginx/certificate.crt Failure to do so will break your SSH connection and lock you out of the server as soon as you enable the firewall!Įrror_log /var/log/nginx/rocketchat_error.log If you have changed it to something else, you must modify the rule below to reflect your required port number. IMPORTANT: We’re going to add a firewall rule to permit your SSH connection on port 22/tcp. It should be installed by default in Ubuntu, but if it’s not, you can install the package using apt-get. Securing the server: Firewall basics (optional, recommended)įirst, make sure UFW (Uncomplicated Fire Wall) is installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |