iamarpit
iamarpit
DDokploy
Created by Scan on 3/27/2025 in #old-help
Need help with Cloudflare real ips
I could be wrong but if your actual ip is not exposed the what's the problem
17 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
I've changed the dns like two weeks ago..
25 replies
DDokploy
Created by Scan on 3/27/2025 in #old-help
Need help with Cloudflare real ips
and you saying its currently showing your vm ip ?
17 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
am using cloudflare, any other suggestions bud.. should I try switching to other services ?
25 replies
DDokploy
Created by Scan on 3/27/2025 in #old-help
Need help with Cloudflare real ips
wanna add more details ?? what's not working
17 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
93ms vs 1.5 seconds
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
No description
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
@Henrik there is one thing thoug, on domain routing is a bit slow. vs on ip it was almost instant,.. ideas ?
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
it was cloudflare 👀 , changed mode from flexible to full strict and its solved. this helped... thanks bud.. cheers 🍻
root@ubuntu:~# curl -I https://console.algosensei.org
HTTP/2 308
date: Thu, 27 Mar 2025 08:30:01 GMT
content-length: 18
location: https://console.algosensei.org/
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 926d85f808c347c1-BOM
alt-svc: h3=":443"; ma=86400
server-timing: cfL4;desc="?
root@ubuntu:~# curl -I https://console.algosensei.org
HTTP/2 308
date: Thu, 27 Mar 2025 08:30:01 GMT
content-length: 18
location: https://console.algosensei.org/
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 926d85f808c347c1-BOM
alt-svc: h3=":443"; ma=86400
server-timing: cfL4;desc="?
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
I found this in logs
2025-03-27T07:58:37Z ERR Error while starting server error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
2025-03-27T07:58:37Z ERR Error while starting server error="accept tcp [::]:80: use of closed network connection" entryPointName=web
2025-03-27T07:58:37Z ERR Error while starting server error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
2025-03-27T07:58:37Z ERR Error while starting server error="accept tcp [::]:80: use of closed network connection" entryPointName=web
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
your status is good one
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
cool, lemme check
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
http:
routers:
dokploy-router-app:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- web
middlewares:
- redirect-to-https
dokploy-router-app-secure:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- websecure
# middlewares:
# - redirect-to-https
tls:
certResolver: letsencrypt
services:
dokploy-service-app:
loadBalancer:
servers:
- url: http://dokploy:3000
passHostHeader: true
http:
routers:
dokploy-router-app:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- web
middlewares:
- redirect-to-https
dokploy-router-app-secure:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- websecure
# middlewares:
# - redirect-to-https
tls:
certResolver: letsencrypt
services:
dokploy-service-app:
loadBalancer:
servers:
- url: http://dokploy:3000
passHostHeader: true
should work but its not working
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
so, this is my complete config
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
No description
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
yhh service is also there I'm just giving you the relavent config, I just added domain to webserver but it wasn't working so I disabled middleware in websecure still no changes, then I disabled middlware in web and it worked... just wanted to know why ? bcoz it should be the other way around
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
it keeps on redirecting, so I get that http to https valid, and websecure just stay as it is.. but then it was not working.
routers:
dokploy-router-app:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- web
middlewares:
- redirect-to-https
dokploy-router-app-secure:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- websecure
# middlewares:
# - redirect-to-https
tls:
certResolver: letsencrypt
routers:
dokploy-router-app:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- web
middlewares:
- redirect-to-https
dokploy-router-app-secure:
rule: Host(`console.algosensei.org`)
service: dokploy-service-app
entryPoints:
- websecure
# middlewares:
# - redirect-to-https
tls:
certResolver: letsencrypt
25 replies
DDokploy
Created by iamarpit on 3/27/2025 in #old-help
[solved] custom domain doesn't work with `redirect-to-https` middleware in dokploy config.
I've tried that as well, adding redirect-to-https in web and removing it from websecure but still not working..
25 replies