Nginx Explorer - File listing
Related
More from Hugues Blog
Previously, we configured nginx to list directories and files in html. Now, let’s add authentication to restrict access to specific directories and files. Basic authentication The simplest web authentication method is basic authentication. It requires an Authorization header in each request. However, browsers don’t support setting a header on...
The PATH environment variable is read by the shell or libc to find and execute programs, this is how the shell can find /bin/ls when ls is typed in a terminal. Shrink it On Debian based desktop systems the default PATH variable look like this: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Much of...
Git can change configuration depending on the directory you're in. By using this feature, you can create a directory structure with context-aware Git configurations. Using includeIf in ~/.gitconfig: [include] path = "~/.config/git/main.gitconfig" [includeIf "gitdir:~/work/companyA/**"] path = "~/.config/git/companyA.gitconfig" [includeIf...
Unified Kernel Image UKIs can run on UEFI systems and simplify the distribution of small kernel images. For example, they simplify network booting with iPXE. UKIs make rootfs and kernels composable, making it possible to derive a rootfs for multiple kernel versions with one file for each pair. A Unified Kernel Image (UKI) is a combination of a...
Edk2 Edk2 is the official UEFI implementation. One problem I encountered is that it doesn't provide a way to specify the default boot entry. If you already know what the default boot device or application should be, then it should be possible to set it in the 'to be flashed' file. Here I made a patch that add a PCD option to choose which entry...