List of all posts

Nginx Alternative Root With Conditional Autoindexing

Proof of Concept #nginx

Recently I have developed the following Nginx setup to make my virtual host instance more advanced. It has the following features:

  • The blog root directory served from a completely different directory than the regular htdocs root. Blog content has preference over the other files, so if the requested file is not found in the blog root, it falls back to the regular root.
  • There is a feature for conditional autoindexing (I don’t like to expse my files by default): if I put a .index file into a directory, it will be publicly autoindexed, otherwise Nginx returns a 404 error (as instead on the default 403).
  • Handles error_page idoms well.
Read more →

WiFi + Ethernet bonding

Proof of Concept #networking Read in hu
WiFi + Ethernet bonding

When I’m at home, I dislike undocking my laptop to move around the house because of the Ethernet-to-WiFi switchover takes long seconds and all my TCP sessions like SSH get lost. It’s because my laptop is assigned a different IP address on WiFi and on the wired network even if they belong to the same VLAN. Well, it looks like this is not the case any more.

Read more →