Docker with Traefik reverse proxy under Synology DSM 7 // free port 80 and 443

Solution 1:

It seems as if the config-files are now directly stored in /etc/nginx

The following worked for me:

#! /bin/bash

HTTP_PORT=81
HTTPS_PORT=444

sed -i "s/^\( *listen .*\)80/\1$HTTP_PORT/" /etc/nginx/nginx.conf*
sed -i "s/^\( *listen .*\)443/\1$HTTPS_PORT/" /etc/nginx/nginx.conf*

I basically changed the location of the nginx-config in the script. Everything else is the same. Now traefik is available again.