mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
enhance(docker): recreate access.log and error.log as regular files
This commit is contained in:
parent
45a68112b1
commit
abc73bbf77
4 changed files with 8 additions and 27 deletions
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# the up and down files are special: they're not shell scripts,
|
||||
# but single command lines interpreted by execlineb.
|
||||
# You should not have to worry about execline;
|
||||
# you should only remember that an up file contains a single command line.
|
||||
|
||||
if [ "$(ls -A /etc/nginx)" = "" ]; then
|
||||
echo "[INFO] Initialing Nginx configurations directory"
|
||||
cp -rp /usr/etc/nginx/* /etc/nginx/
|
||||
echo "[INFO] Nginx configurations directory initialed"
|
||||
fi
|
|
@ -1 +0,0 @@
|
|||
/etc/s6-overlay/s6-rc.d/init-config/init-config.sh
|
|
@ -22,7 +22,6 @@ http {
|
|||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
access_log /var/log/nginx/access.local.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue