You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synology default installs a web server on port 80 blocking certificate generation.
3
+
4
+
To circumvent this - if you do not need external access to the default web server (and you should not expose it anyway) configure your .env to use alternative ports and your router to forward the external official port to the alternative internal ports:
5
+
6
+
#
7
+
# Set the local exposed ports for http and https - this will allow you to run with a legacy web
8
+
# server already installed for local use
9
+
#
10
+
# NOTE: For this to function your internet router must forward the official ports to the mapped ports -
11
+
# in this example external port 80 to docker host 81 and external port 443 to docker host 444
12
+
#
13
+
DOCKER_HTTP=81
14
+
DOCKER_HTTPS=444
15
+
16
+
## File permissions
17
+
To setup the needed configuration directoties and proper permissions run the below commands (assuming default ./data is where you have your catalog for persistent files)
18
+
19
+
mkdir -p data/certs
20
+
mkdir data/htpasswd
21
+
mkdir data/conf.d
22
+
mkdir data/vhost.d
23
+
mkdir data/html
24
+
chgrp -R 101 data
25
+
chmod -R g+rwx data
26
+
27
+
Contributed by https://github.com/nicolailang/
0 commit comments