Fixing blog.gaku.net

Posted on

Previously I was using Ghost for blog.gaku.net. From time to time, the server process went down. It was a bit overkill to just host bunch of pages. I am moving to a static site generator this time. Fixing First, check /etc/nginx. blog.gaku.net’s config was /etc/nginx/site-enabled/ghost-blog.nginx.

backend Thin servers upstream ghost-blog { server 127.0.0.1:2368; } server { listen 80; server_name blog.gaku.net; location / { proxy_pass http://ghost-blog; proxy_set_header Host $host; proxy_set_header X-base-uri ‘/’; } } Created a new config

Read more »

Switching the theme

Posted on

I didn’t like the Hugo theme that Quick Start tutorial used. I have switched to hugo-minimalist-theme. config.toml is longer with [params] section. The page is broken if I didn’t have that section. content/posts needed to be renamed to content/post.…

Read more »