Here is a family blog for sharing technical talks and experiences. Written in English. By multiple members. Covers many.
It has been a long time that I've thought about my own blog. Sometimes some thoughts or experiences I'd like to note down but don't know where to write. Now they have a home here.
Changlogs
Bug fixes and stability improvements.
Apr 28, 2020
- Migrate from SQLite to MariaDB database backend
- New Ghost theme
Aug 27, 2018
- Updated to Ghost 2.0 and enjoyed the brand new editor
Sep 14, 2017
Isso
is set up (via docker) to provide comment service
Jun 16, 2017
- This blog is set up using dockerized Ghost
- It features
HTTP over SSL
andHTTP/2
by nginx reverse proxy
I used to use return 301
in nginx virtual hosts to redirect HTTP to HTTPS. Ghost, however, actually will handle this redirect automatically based on the configured URL in config.js
.
When Ghost is container-ized, HTTPS
is provided and handled by nginx and pass the traffic to Ghost via HTTP
. The application URL still needs to be https://
while nginx has to remain passing proxy to http://
. This is confusing.
Besides, due to a bug in config.js
, a line should be added when passing proxy to container-ized Ghost:
proxy_set_header X-Forwarded-Proto https;