knowsuchagency
knowsuchagency
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
I found the issue. The problem was using an explicit webhook as opposed to the github application. I had to turn off the webhook ensure the github app was correctly configured. Hope this helps if anyone else stumbles across the same problem!
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
My assumption might be that it's redirecting non-http traffic, but all events have that same body in the response, {"message":"Branch Not Match"} which makes me suspect it's something to how dokploy configures github webhooks
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
I host dokploy and all application behind cloudflare for DNS in strict mode for HTTPS using origin certs
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
Here's my traefik.yml
providers:
swarm:
exposedByDefault: false
watch: false
docker:
exposedByDefault: false
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
entryPoints:
web:
address: ':80'
websecure:
address: ':443'
http:
tls:
certResolver: letsencrypt
api:
insecure: true
certificatesResolvers:
letsencrypt:
acme:
storage: /etc/dokploy/traefik/dynamic/acme.json
httpChallenge:
entryPoint: web
accessLog:
filePath: /etc/dokploy/traefik/dynamic/access.log
format: json
bufferingSize: 100
filters:
retryAttempts: true
minDuration: 10ms
providers:
swarm:
exposedByDefault: false
watch: false
docker:
exposedByDefault: false
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
entryPoints:
web:
address: ':80'
websecure:
address: ':443'
http:
tls:
certResolver: letsencrypt
api:
insecure: true
certificatesResolvers:
letsencrypt:
acme:
storage: /etc/dokploy/traefik/dynamic/acme.json
httpChallenge:
entryPoint: web
accessLog:
filePath: /etc/dokploy/traefik/dynamic/access.log
format: json
bufferingSize: 100
filters:
retryAttempts: true
minDuration: 10ms
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
this is consident across projects
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
No description
9 replies
DDokploy
Created by knowsuchagency on 2/28/2025 in #help
Preview deployments not working due to redirect
The base branch is main which is the branch normal deployments use
9 replies