mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
Docker build changes
This commit is contained in:
@ -4,7 +4,7 @@ server {
|
||||
listen 9876 default;
|
||||
server_name localhost;
|
||||
|
||||
access_log /config/logs/manager.log proxy;
|
||||
access_log /data/logs/manager.log proxy;
|
||||
|
||||
set $server 127.0.0.1;
|
||||
set $port 81;
|
||||
@ -26,7 +26,7 @@ server {
|
||||
listen 80 default;
|
||||
server_name localhost;
|
||||
|
||||
access_log /config/logs/default.log proxy;
|
||||
access_log /data/logs/default.log proxy;
|
||||
|
||||
include conf.d/include/assets.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
|
@ -15,7 +15,7 @@ location ^~ /.well-known/acme-challenge/ {
|
||||
# there to "webroot".
|
||||
# Do NOT use alias, use root! Target directory is located here:
|
||||
# /var/www/common/letsencrypt/.well-known/acme-challenge/
|
||||
root /config/letsencrypt-acme-challenge;
|
||||
root /data/letsencrypt-acme-challenge;
|
||||
}
|
||||
|
||||
# Hide /acme-challenge subdirectory and return 404 on all requests.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /config/letsencrypt-acme-challenge
|
||||
mkdir -p /data/letsencrypt-acme-challenge
|
||||
|
||||
cd /srv/manager
|
||||
node --abort_on_uncaught_exception --max_old_space_size=250 /srv/manager/src/backend/index.js
|
||||
cd /srv/app
|
||||
node --abort_on_uncaught_exception --max_old_space_size=250 /srv/app/src/backend/index.js
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /tmp/nginx /config/{nginx,logs,access} /config/nginx/stream /var/lib/nginx/cache/{public,private}
|
||||
mkdir -p /tmp/nginx /data/{nginx,logs,access} /data/nginx/stream /var/lib/nginx/cache/{public,private}
|
||||
chown root /tmp/nginx
|
||||
exec nginx
|
||||
|
Reference in New Issue
Block a user