Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
d82b5494
Commit
d82b5494
authored
Feb 07, 2020
by
Dominik Hebeler
Browse files
removed access log from stdout and instead linked error log to it
parent
646bfbd9
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
d82b5494
...
...
@@ -24,6 +24,8 @@ RUN sed -i 's/listen.owner = www-data/listen.owner = nginx/g' /etc/php/7.3/fpm/p
sed
-i
's/user = www-data/user = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
&&
\
sed
-i
's/group = www-data/group = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
&&
\
sed
-i
's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g'
/etc/php/7.3/fpm/php.ini
&&
\
rm
/var/log/nginx/access.log
&&
ln
-s
/dev/null /var/log/nginx/access.log
&&
\
rm
/var/log/nginx/error.log
&&
ln
-s
/dev/stdout /var/log/nginx/error.log
&&
\
mkdir
/html
# Set correct timezone
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment