Static website with Hugo and Nginx

Web development

The goal of this tutorial it’s to show how create a static website with GoHugo.io and Nginx as a reverse proxy. About Hugo GoHugo.io is is one of the most popular open-source static site generators. Have we turned to the past? For some kind of things, we may say yes. Lately, with the explosion of Javascript and client-side application, the server applications sometimes have been transformed in resources providers. With reources I mean also dynamic resources (maybe retrieved form a DB). [Read More]

How to configure a custom error page with Nginx

Reverse Proxy

Nginx it’s a very powerful reverse proxy. Sometimes if we have a service redirected by ngnix that is down is not a good practice leave the default error page of Nginx. The reasons of why change the default error page of ngnix are a lot: Hide the reverse proxy technology Show a custom page for each error or service Manifest professionally\ Configuration: Open the “/etc/nginx/sites-enabled/default” configuration file Inside the “server” element put a code like that: error_page 502 /maintenance. [Read More]