Replies: 4 comments
-
The error inside my container is: today at 16:04:16[Mon Oct 10 14:04:16.717134 2022] [ssl:info] [pid 30] [client 172.19.0.2:49522] AH01964: Connection to child 3 established (server www.example.com:443) |
Beta Was this translation helpful? Give feedback.
-
Hey @woutr-nl, I saw your post on the community discord. I never really used Traefik, so I can't really help you here. I would be happy to point you in the right direction if I find anything. A good step could also be to ask for help on the DBtech Discord. We have a section for Reverse Proxies in the README for NGINX. Maybe you can find some documentation on how to apply that to Traefik. In any case, please update this issue with anything that could help other people with the same issue. If we can come up with a guide for this, I'll include it in the documentation. I wish you all the best with your issue 👍 Good luck, |
Beta Was this translation helpful? Give feedback.
-
I think it has to do with setting Something like:
|
Beta Was this translation helpful? Give feedback.
-
@woutr-nl in the end, I use https://stackoverflow.com/a/45731506 since I was passing right the headers with Traefik, but the docker is set with .env to be local, and the service provider doesn't help to setup the HTTPS either. After that quick hack everything start working without issue Edit: This docker only listen to port 80 by default |
Beta Was this translation helpful? Give feedback.
-
Hey Julian,
I'm trying to get it work.
Running on docker with Traefik as a reverse proxy i'm getting this error:
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
(you can see this on 'https://linkjes.woutr.io')
Editing the port to 80 or back to 443 doesn't solve a thing.
This is my docker-compose file;
`
version: '2'
networks:
web:
external: true
services:
app:
image: julianprieber/littlelink-custom
labels:
- "traefik.http.routers.littlelink.rule=Host(
linkjes.woutr.io
)"- "traefik.http.routers.littlelink.tls=true"
- "traefik.http.routers.littlelink.tls.certresolver=lets-encrypt"
- "traefik.http.services.littlelink.loadbalancer.server.port=443"
- "traefik.docker.network=web"
volumes:
- ./data:/htdocs
environment:
- HTTP_SERVER_NAME=linkjes.woutr.io
- HTTPS_SERVER_NAME=linkjes.woutr.io
- SERVER_ADMIN=[email protected]
- TZ=Europe/Amsterdam
- PHP_MEMORY_LIMIT=512M
- UPLOAD_MAX_FILESIZE=16M
networks:
- web
restart: always
`
Beta Was this translation helpful? Give feedback.
All reactions