mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 07:53:39 +00:00
fix access list/dep updates
Update dependency @babel/core to v7.21.5
This commit is contained in:
@@ -35,7 +35,7 @@ RUN apk add --no-cache build-base libffi-dev && \
|
|||||||
. /usr/local/certbot/bin/activate && \
|
. /usr/local/certbot/bin/activate && \
|
||||||
pip install --no-cache-dir certbot
|
pip install --no-cache-dir certbot
|
||||||
|
|
||||||
FROM zoeyvid/nginx-quic:111
|
FROM zoeyvid/nginx-quic:112
|
||||||
RUN apk add --no-cache ca-certificates tzdata \
|
RUN apk add --no-cache ca-certificates tzdata \
|
||||||
nodejs-current \
|
nodejs-current \
|
||||||
openssl apache2-utils \
|
openssl apache2-utils \
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
{% if access_list.items.length > 0 %}
|
{% if access_list.items.length > 0 %}
|
||||||
# Authorization
|
# Authorization
|
||||||
auth_basic "Authorization required";
|
auth_basic "Authorization required";
|
||||||
auth_basic_user_file /data/access/{{ access_list_id }};
|
auth_basic_user_file /data/etc/access/{{ access_list_id }};
|
||||||
|
|
||||||
{% if access_list.pass_auth == 0 %}
|
{% if access_list.pass_auth == 0 %}
|
||||||
proxy_set_header Authorization "";
|
proxy_set_header Authorization "";
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"description": "A beautiful interface for creating Nginx endpoints",
|
"description": "A beautiful interface for creating Nginx endpoints",
|
||||||
"main": "js/index.js",
|
"main": "js/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "7.21.4",
|
"@babel/core": "7.21.5",
|
||||||
"babel-core": "6.26.3",
|
"babel-core": "6.26.3",
|
||||||
"babel-loader": "8.3.0",
|
"babel-loader": "8.3.0",
|
||||||
"babel-preset-env": "1.7.0",
|
"babel-preset-env": "1.7.0",
|
||||||
|
@@ -424,6 +424,7 @@ if [ "$PUID" != "0" ]; then
|
|||||||
/tmp/acme-challenge \
|
/tmp/acme-challenge \
|
||||||
/tmp/certbot-work \
|
/tmp/certbot-work \
|
||||||
/tmp/certbot-log || exit 1
|
/tmp/certbot-log || exit 1
|
||||||
|
sed -i "s|user root;|#user root;|g" /usr/local/nginx/conf/nginx.conf || sleep inf
|
||||||
sudo -Eu npmuser launch.sh || exit 1
|
sudo -Eu npmuser launch.sh || exit 1
|
||||||
else
|
else
|
||||||
chown -R 0:0 /usr/local/certbot \
|
chown -R 0:0 /usr/local/certbot \
|
||||||
@@ -432,5 +433,6 @@ else
|
|||||||
/tmp/acme-challenge \
|
/tmp/acme-challenge \
|
||||||
/tmp/certbot-work \
|
/tmp/certbot-work \
|
||||||
/tmp/certbot-log || exit 1
|
/tmp/certbot-log || exit 1
|
||||||
|
sed -i "s|#user root;|user root;|g" /usr/local/nginx/conf/nginx.conf || sleep inf
|
||||||
launch.sh || exit 1
|
launch.sh || exit 1
|
||||||
fi
|
fi
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
user root;
|
||||||
daemon off;
|
daemon off;
|
||||||
pcre_jit on;
|
pcre_jit on;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
|
Reference in New Issue
Block a user