Hi
I have an server which is already running a apache2 webserver. I want to switch step by step all my reverse proxies and applications from apache to traefic. As an Initial step I want to set up traefik as my main entry-point.
For this I set up Traetfik to listen on ports 80 and 443. Apache I successfully configured to listen on 180 and 1443.
I want traefik to handle my certifiicates for the aservises in apache (I faced issues as the renwal is not possible anymore as port 80 is now used by traefic.)
Hen tryint to access may service provided by apache sadly I always get an 403 error. This is my config
http:
routers:
nextcloud:
entrypoints:
- web
rule: Host(`cloud.my-domain.de`)
service: apache2
middlewares:
- https-redirect
nextcloud-secure:
entrypoints:
websecure
rule: Host(`cloud.my-domain.de`)
tls:
certresolver: letsencrypt
service: apache2
middlewares:
- secHeaders
services:
apache2:
loadBalancer:
servers:
- localhost:180