Rich's IT Blog

Sharing the joy of DevOps and Coffee

Linux

Nginx Requests Not Being Gzipped on CDN Pass-Through

A couple months ago I ran into a curious situation. Requests from Nginx were being gzipped as expected and requests from CDN were being gzipped. My Nginx settings for compression looked like this: gzip on; gzip_comp_level 6; gzip_http_version 1.1; gzip_min_length 0; gzip_types application/json application/x-javascript application/javascript text/plain text/css text/javascript text/xml; gzip_vary […]

Setting up XRDP on Ubuntu

Install XRDP sudo apt-get install xrdp Once installed update the xrdp.ini file to set crypt_level=high sudo vim /etc/xrdp/xrdp.ini crypt_level=high Update the firewall to allow connectivity sudo ufw allow 3389/tcp Restart the service to apply changes from config sudo systemctl restart xrdp