Proxy to existing web-services #71
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I hope it is okay to ask this question here - I cannot find a dedicated support-forum.
I have deployed traefik and bonfire to my server. At the server I was running two other webservices via apache.
Now they are failing.
I have tried to understand the instructions here: https://docs.coopcloud.tech/operators/handbook/#proxying-apps-outside-of-co-op-cloud-with-traefik to create a proxy.
But first I don't understand how to create at file at /etc/traefik/file-providers - it is inside the container, so I cannot just create it.
Instead, I added:
COMPOSE_FILE="$COMPOSE_FILE:../../apache/friendica.dk.yml"to the .env-file (
abra app config <traefik-domain>)And created this file:
I added version "3.8" to avoid version mismatch.
This give the following error when deploying:
I seems to be due to the version of traefik not accepting http-value.
But then, what should I do?
Thanks!
hey @jeppebundsgaard, thanks for raising the issue! I think it should probably have ended up here as it is a more general issue but let's keep it going here for convenience sake.
Those instructions you linked to are for allowing traefik to forward to other services that are not in your swarm setup. It's not instructions for running two web proxies in parallel, that isn't supported unfortunately.
You might have to search online how you can route traffic to docker containers with apache via labels. That is what traefik is doing for automatically. At the moment, you need to make a choice if you stick with apache or move over to traefik. You can't mix them on the same server unfortunately because they both claim port 80 and 443.
This is a bit of an annoying limitation atm because we don't "natively" support other proxies. This is a work in progress, e.g. with Caddy: toolshed/organising#388
Hope this helps and let's document the way out of this because for sure others have raised this before.