![]() ![]() To enable VSCode to watch files, please apply the following system tweak to the server. Note: With 4 GiB of RAM and Rocket.Chat running, VS Code Remote-SSH will take some memory on the server and crash it. Visual Studio Code Connect Using Remote – SSH In Cloudflare, set SSL to Full ( not strict). In Lightsail, allow firewall on port HTTPS (TCP 443).Īdd A record to Lightsail instance IP address, and proxied. } sudo ln -sv /etc/nginx/sites-available/ /etc/nginx/sites-enabled/ Proxy_set_header X-Forwarded-Proto https Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for Ssl_protocols TLSv1 TLSv1.1 TLSv1.2 # don’t use SSLv3 ref: POODLE Ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key # You can increase the limit if your need to.Įrror_log /var/log/nginx/ ![]() Add nginx Reverse Proxy sudo apt -y install nginxĬreate self-signed cert sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crtĮdit /etc/nginx/sites-available/ # Upstreams
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |