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
|
||||
|
@ -1,4 +1,4 @@
|
||||
text = True
|
||||
non-interactive = True
|
||||
authenticator = webroot
|
||||
webroot-path = /config/letsencrypt-acme-challenge
|
||||
webroot-path = /data/letsencrypt-acme-challenge
|
||||
|
@ -18,7 +18,7 @@
|
||||
<p>If you're seeing this site then you're trying to access a host that isn't set up yet.</p>
|
||||
<p>Log in to the Admin panel to get started.</p>
|
||||
</div>
|
||||
<p class="text-center"><small>Powered by <a href="#" target="_blank">Nginx Proxy Manager</a></small></p>
|
||||
<p class="text-center"><small>Powered by <a href="https://github.com/jc21/nginx-proxy-manager" target="_blank">Nginx Proxy Manager</a></small></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user