Mozilla’s Pocket is shutting down soon, so I need something else. In this post I explain the Readeck installation on Portainer with a SWAG reverse proxy in front.
Continue reading “Readeck on Portainer with SWAG reverse proxy”Tag: docker
Dawarich installation with Portainer und SWAG
In this post I describe the installation and configuration of Dawarich, an open source Google Timeline alternative. The installation is done as a docker stack via Portainer and the Linux server SWAG reverse proxy.
Continue reading “Dawarich installation with Portainer und SWAG”SWAG and WordPress in a subfolder
Desired setup
A SWAG reverse proxy should forward requests to WordPress running in the official wordpress docker image. The URL which is served by the reverse proxy is not the domain root, but a subfolder “blog”: https://www.example.com/blog.
What does not work
Letting the docker image itself serve wordpress in the root folder and write some clever proxy / rewrite rules. At first it seems to work, but when it comes wp-admin URLs like https://www.example.com/blog/wp-admin a magic redirection happens to https://www.example.com/wp-admin which points to outside the WordPress installation.
Fiddling around with RELOCATE
, WP_HOME
and WP_SITEURL
does not solve the problem.
As it turns out WordPress needs to know the fact that it is installed in a subfolder, quote:
Continue reading “SWAG and WordPress in a subfolder”What you’ll want to do is run your WordPress container with WORKDIR set to /var/www/html/lab so it knows it is in a subdirectory and acts accordingly.
Homeassistant with Traefik and SSH
So the idea is to have a home router listen on port 443 for HTTPS and SSH connection simultanously, route HTTPS traffic to a local homeassistant instance and SSH traffic to a local SSH server:
