enabled logs
This commit is contained in:
@ -8,6 +8,10 @@ ln -sv /etc/nginx/sites-available/nextcloud_nginx.conf /etc/nginx/sites-enabled/
|
||||
cp -rv default_configs/etc/php /etc/
|
||||
touch init/init
|
||||
|
||||
#Create log dirs
|
||||
mkdir -pv /root/logs/nginx
|
||||
mkdir -pv /root/logs/php-fpm
|
||||
|
||||
echo defaults configs are deployed, please check and change any required configs and restart container
|
||||
|
||||
pkill bash
|
||||
|
@ -9,6 +9,10 @@ server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
#Logs
|
||||
access_log /root/logs/nginx/access.log;
|
||||
error_log /root/logs/nginx/error.log;
|
||||
|
||||
# Path to the root of your installation
|
||||
root /var/www/nextcloud;
|
||||
|
||||
|
@ -23,7 +23,7 @@ pid = /run/php/php8.1-fpm.pid
|
||||
; into a local file.
|
||||
; Note: the default prefix is /var
|
||||
; Default Value: log/php-fpm.log
|
||||
error_log = /var/log/php8.1-fpm.log
|
||||
error_log = /root/logs/php-fpm/php8.1-fpm.log
|
||||
|
||||
; syslog_facility is used to specify what type of program is logging the
|
||||
; message. This lets syslogd specify that messages from different facilities
|
||||
|
Reference in New Issue
Block a user