3 Commits

Author SHA1 Message Date
opencode
2ccb39a69b fix: redirect plain-http desfoto.de to HTTPS with an own router
The running Traefik instance has no global entrypoint http->https
redirection even though /srv/stack/docker-compose.yml declares one, so
plain http://desfoto.de/ answered with Traefik's default 404 once the old
desfoto-redirect-http router was removed. Route desfoto.de through its own
http router (desfoto-http + desfoto-http-to-https, permanent redirect) via
the proven live Docker provider instead of restarting the shared proxy.
Document the live-config drift in docs/deployment.md.
v1.0.0
2026-09-19 16:04:32 +02:00
opencode
f69a00c773 fix: run desfoto deploy compose commands as the directory owner
The live directory /home/denny/stacks/desfoto belongs to denny, but the SSH
deploy identity cannot traverse /home/denny (0750). Run the directory change
and the compose command together under the owning identity via
'sudo -n -u denny bash -c' instead of a bare 'cd' as the SSH user. Applies to
the deploy, the stack teardown and both rollback paths.
2026-09-19 16:03:20 +02:00
opencode
160ec017eb feat: launch desfoto.de as a standalone photography site and retire the old redirect 2026-09-19 16:02:16 +02:00