Skip to content

Commit 796734a

Browse files
committed
Moved Nginx Proxy Manager tools under the bin directory.
1 parent 606d410 commit 796734a

File tree

9 files changed

+9
-8
lines changed

9 files changed

+9
-8
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ RUN \
147147
openssl \
148148
apache2-utils \
149149
logrotate \
150-
# For /opt/nginx-proxy-manager/handle-ipv6-setting
150+
# For /opt/nginx-proxy-manager/bin/handle-ipv6-setting
151151
bash \
152152
# For openresty
153153
pcre \
@@ -204,7 +204,8 @@ RUN \
204204
cp -r /app/backend /opt/nginx-proxy-manager && \
205205
cp -r /app/frontend/dist /opt/nginx-proxy-manager/frontend && \
206206
cp -r /app/global /opt/nginx-proxy-manager && \
207-
cp -r nginx-proxy-manager/docker/rootfs/bin/handle-ipv6-setting /opt/nginx-proxy-manager && \
207+
mkdir /opt/nginx-proxy-manager/bin && \
208+
cp -r nginx-proxy-manager/docker/rootfs/bin/handle-ipv6-setting /opt/nginx-proxy-manager/bin/ && \
208209
cp -r nginx-proxy-manager/docker/rootfs/etc/nginx /etc/ && \
209210
cp -r nginx-proxy-manager/docker/rootfs/var/www /var/ && \
210211
cp -r nginx-proxy-manager/docker/rootfs/etc/letsencrypt.ini /etc/ && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ For more details about port forwarding, see the following links:
306306
The password of a user can be reset to `changeme` with the following command:
307307

308308
```
309-
docker exec CONTAINER_NAME /opt/nginx-proxy-manager/reset-password.sh USER_EMAIL
309+
docker exec CONTAINER_NAME /opt/nginx-proxy-manager/bin/reset-password USER_EMAIL
310310
```
311311

312312
Where:

appdefs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ For more details about port forwarding, see the following links:
9797
The password of a user can be reset to `changeme` with the following command:
9898

9999
```
100-
docker exec CONTAINER_NAME /opt/nginx-proxy-manager/reset-password.sh USER_EMAIL
100+
docker exec CONTAINER_NAME /opt/nginx-proxy-manager/bin/reset-password USER_EMAIL
101101
```
102102

103103
Where:

rootfs/etc/cont-init.d/90-db-upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ log "Dumping database..."
8383

8484
# Convert the database.
8585
log "Converting database..."
86-
/opt/nginx-proxy-manager/mysql2sqlite /tmp/mysqldump.sql | sqlite3 /config/database.sqlite
86+
/opt/nginx-proxy-manager/bin/mysql2sqlite /tmp/mysqldump.sql | sqlite3 /config/database.sqlite
8787

8888
# Update the database settings in configuration.
8989
if [ -f /config/production.json ]; then

rootfs/etc/cont-init.d/nginx-proxy-manager.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ fi
7171
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" > /config/nginx/resolvers.conf
7272

7373
# Hnandle IPv6 settings.
74-
/opt/nginx-proxy-manager/handle-ipv6-setting /etc/nginx/conf.d
75-
/opt/nginx-proxy-manager/handle-ipv6-setting /config/nginx
74+
/opt/nginx-proxy-manager/bin/handle-ipv6-setting /etc/nginx/conf.d
75+
/opt/nginx-proxy-manager/bin/handle-ipv6-setting /config/nginx
7676

7777
# Take ownership of the config directory content.
7878
find /config -mindepth 1 -exec chown $USER_ID:$GROUP_ID {} \;

rootfs/etc/services.d/cert_cleanup/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ log() {
2323
}
2424

2525
log "starting..."
26-
s6-applyuidgid -u $USER_ID -g $GROUP_ID -G ${SUP_GROUP_IDS:-$GROUP_ID} /usr/local/bin/watch -i "$INTERVAL_IN_SECS" /opt/nginx-proxy-manager/lecleaner | log
26+
s6-applyuidgid -u $USER_ID -g $GROUP_ID -G ${SUP_GROUP_IDS:-$GROUP_ID} /usr/local/bin/watch -i "$INTERVAL_IN_SECS" /opt/nginx-proxy-manager/bin/lecleaner | log
2727

2828
# vim:ft=sh:ts=4:sw=4:et:sts=4

0 commit comments

Comments
 (0)