File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 52
52
add-pkg --virtual build-dependencies \
53
53
build-base \
54
54
curl \
55
+ patch \
55
56
yarn \
56
57
git \
57
58
python \
68
69
mkdir nginx-proxy-manager && \
69
70
curl -# -L ${NGINX_PROXY_MANAGER_URL} | tar xz --strip 1 -C nginx-proxy-manager && \
70
71
72
+ # Patch.
73
+ curl -# -L https://github.com/jlesage/nginx-proxy-manager/commit/0aa1cb0aa.patch | patch -d nginx-proxy-manager -p1 && \
74
+
71
75
# Build Nginx Proxy Manager.
72
76
echo "Building Nginx Proxy Manager..." && \
73
77
cp -r nginx-proxy-manager /app && \
@@ -100,6 +104,7 @@ RUN \
100
104
sed-patch 's|listen 80;|listen 8080;|' /opt/nginx-proxy-manager/src/backend/templates/_listen.conf && \
101
105
102
106
# Change the HTTPs port 443 to the unprivileged port 4443.
107
+ sed-patch 's|listen 443 |listen 4443 |' /etc/nginx/conf.d/default.conf && \
103
108
sed-patch 's|listen 443 |listen 4443 |' /opt/nginx-proxy-manager/src/backend/templates/_listen.conf && \
104
109
105
110
# Fix nginx test command line.
You can’t perform that action at this time.
0 commit comments