Proxy to existing web-services #71
Closed
opened 2025-12-22 01:20:27 +00:00 by jeppebundsgaard
·
1 comment
No Branch/Tag Specified
master
adding-matrix-room
pgsql-port-open
access-log
anubis-metrics
forwarded-headers
trust-forward-header
large-uploads
anubis-log-level
compose.matrix
garage
chore-5.0.0+v3.6.10
feat-release-notes-next
add-onion-support
remove-default-timeout
feat-pull-request-template
improve-docs
anubis
sixsmith-v3-update-only
feature/irc
revert-logmaxAge
qbit
feature/v3
error-pages-again
metrics
basic-auth
error-messages-attempt
error-pages-attempt
minecraft
forward-auth-2
error-pages
rejig-compose-vars
self-signed
6.1.0+v3.7.10
6.0.0+v3.7.7
5.1.1+v3.6.15
5.1.0+v3.6.11
5.0.0+v3.6.10
4.0.0+v3.6.10
3.10.0+v3.6.7
3.9.0+v3.6.5
3.8.0+v3.6.5
3.7.0+v3.6.2
3.6.3+v3.4.5
3.6.2+v3.4.5
3.6.1+v3.4.5
3.6.0+v3.4.5
3.5.0+v3.4.5
3.4.2+v3.4.5
3.4.1+v3.4.5
3.4.0+v3.4.4
3.3.0+v2.11.26
3.2.0+v2.11.25
3.1.1+v2.11.25
3.1.0+v2.11.24
3.0.0+v2.11.22
2.10.0+v2.11.22
2.9.1+v2.11.14
3.1.0+v2.11.14
2.9.0+v2.11.14
2.8.0+v2.11.10
2.7.0+v2.11.8
3.0.0+v3.0.0
2.6.3+v2.11.2
2.6.2+v2.11.1
2.6.1+v2.11.0
2.6.0+v2.11.0
2.5.0+v2.11.0
2.4.3+v2.10.5
2.1.0+v2.9.9
2.4.2+v2.10.4
2.4.1+v2.10.3
2.4.0+v2.10.1
2.3.1+v2.10.2
2.3.0+v2.10.2
2.2.0+v2.10.2
2.2.0+v2.10.1
2.0.4+v2.9.6
2.0.3+v2.9.6
2.0.2+v2.9.5
2.0.0+v2.9.1
1.1.1+v2.8.1
1.1.0+v2.8.0
1.0.1+v2.5.6
1.0.0+v2.5.2
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
decentral1se (d1)
fauno (fauno)
javielico (Javielico)
jjsfunhouse
kawaiipunk (KawaiiPunk)
knoflook
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
renovate-bot (Comrade Renovate Bot)
simon
stevensting
trav (Trav Fryer)
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/traefik#71
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.