All posts tagged: nginx

Free SSL certificates and how to install on nginx in 10 steps

comment 1
Howtos / System Administration
HTTPS, encrypt via SSL / TLS

Here how you can get free SSL cerificates using Let’s Encrypt. Forget about the expire of certificates using the auto-renewal script. A complete reference to install a Let’s Encrypt certificate is this Digital Ocean’s howto. Here there’s a quick guide based on it, plus some additional suggestions. Here we go! The following code download the script and make it executable. (1) Logout and login again to make the certbot-auto script available as a command without […]

How to enable gzip on proxy servers on nginx

Leave a comment
Howtos / System Administration

I use often Gunicorn as web server for django applications. Usually I use Apache but I’m starting to use nginx as webserver to serve both the static files and the proxied gunicorn response. I need to do something like what I’ve done with Apache to compress the response after I received from django since I’ve noticed that in my case compressing it before using @gzip_page decorator is more detrimental to performance than doing it after. […]