make nginx log to stdout #1

Merged
sneak merged 1 commits from next into master 2020-02-16 14:12:51 +00:00
2 changed files with 23 additions and 13 deletions
Showing only changes of commit d402abd69b - Show all commits

View File

@ -16,6 +16,9 @@ if [[ "$UBUNTU_ENABLE_SOURCE_MIRRORING" != "false" ]]; then
SOURCEOPT="--source"
fi
DONE=0
while [[ $DONE -eq 0 ]]; do
debmirror \
-a ${UBUNTU_MIRROR_ARCHITECTURES} \
-s ${UBUNTU_MIRROR_CATEGORIES} \
@ -28,5 +31,9 @@ debmirror \
--progress \
--method=http \
$DST/ubuntu
if [[ $? -eq 0 ]]; then
DONE=1
fi
chmod -R a+rX $DST
sleep 1
done

View File

@ -3,11 +3,14 @@ worker_processes auto;
pid /var/run/nginx.pid;
error_log /dev/stdout info;
events {
worker_connections 1024;
}
http {
access_log /dev/stdout;
include /etc/nginx/mime.types;
default_type application/octet-stream;