Docker build changes

This commit is contained in:
Jamie Curnow
2018-06-20 09:53:18 +10:00
parent 4045caaf88
commit 3970d2891f
8 changed files with 37 additions and 25 deletions

View File

@ -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;

View File

@ -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.