mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Configure nginx to log to stdout and stderr
This commit is contained in:
parent
1f4aac8dc2
commit
3751e46eed
@ -46,8 +46,6 @@ RUN mkdir /run/php && \
|
||||
EXPOSE 8000/tcp
|
||||
RUN touch /run/nginx.pid && \
|
||||
chown www-data /run/nginx.pid
|
||||
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
|
||||
ln -sf /dev/stderr /var/log/nginx/error.log
|
||||
COPY --chown=www-data docker/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
# Create end user directory
|
||||
|
@ -3,6 +3,9 @@ events {}
|
||||
http {
|
||||
include mime.types;
|
||||
|
||||
access_log /dev/stdout;
|
||||
error_log /dev/stderr;
|
||||
|
||||
server {
|
||||
listen 8000;
|
||||
server_name 2fAuth;
|
||||
|
Loading…
Reference in New Issue
Block a user