Multi-Cloud Deployment for Elixir & Phoenix with MRSK
The second part of my multi-cloud journey for Elixir. This post demonstrates how to deploy a Phoenix application to multiple clouds, cluster together and securely connect to a database instance.
A network interface is a software or hardware component that enables a Linux system to connect to a network. This connection allows your device to com...
Web server config files are mostly about expressing HTTP handling logic. Often, various handlers or middlewares need to be “composed” to form a cohesive HTTP handler that returns the desired responses. Structurally, config files are basically limited to two dimensions: rows and columns (or, lines and tokens). Syntactically, a config file’s second dimension can expand into more dimensions or scopes when blocks are opened (which are usually represented by curly braces { } and/or indentation, simi...
Hi @acole, welcome to the Caddy community. Caddy doesn’t have the site enable / disable aliases Apache does that moves/removes symlinks automatically, but Caddy can import multiple files when starting up, just like Apache does. You can use one central Caddyfile with import directives, e.g. import /path/to/site1/Caddyfile import /path/to/site2/Caddyfile # ... rinse and repeat Or just one import directive that fetches a glob: import /path/to/*.caddy Then populate the /path/to/ directory with...
In addition to @jameszen2020’s answer, with Caddy v2’s much more powerful matching capabilities, you may not need any dedicated functionality like ipfilter. Just use the remote_ip matcher and then handle those requests however you like. example.com { # Match requests that come from 192.168.0.1 @hateThisGuy { remote_ip 192.168.0.1 } # We really hate this guy in particular route @hateThisGuy { respond "I hate you, guy!" 401 } # We don't hate anyone else, though root /var...
How can I create a single ISO or IMG file from an SD card?
I have an SD card that contains 2 volumes (H and I). I have found programs where I can turn Drive H and I into an ISO or IMG seperately. But I want a program that will take the entire card and tu...
I want to mount a partition to an auxiliary folder via mount to fix a damaged grub.
I used the command.
sudo mount /dev/sdb2 /home/ubuntu/temp
and got as error:
mount: you must specify the
Using Linux at the Endpoint: Taking Zero Trust to a New Level
As cyber threats continue to evolve, the need for secure endpoint operating systems becomes paramount. Linux, with its robust security features and alignment with Zero Trust frameworks, offers a compelling solution for organizations aiming to enhance their cybersecurity posture.
Docker and other containerization applications have changed a lot about the way that developers create new software as well as how they maintain virtual machines. Not only does containerization red…
Avoiding Unnecessarily Running Triggers in Postgres
This article highlights the use of triggers in Postgres, and how certain performance issues can arise. It also provides solutions to avoid these issues.
A Raspberry Pi emulator in an easy to use Docker image
PI-CI is a Raspberry Pi emulator in a Docker image that lets developers easily prepare and flash Pi configurations. The PI-CI project enables developers to easily run a Pi VM, prepare a configurati…