1
Fork 0

Also put access log in file for external access

This commit is contained in:
Jake Howard 2020-04-10 11:43:32 +01:00
parent 28be3eb2a7
commit a5e273cae6
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,8 @@ RUN ./scripts/release.sh
# Production run
FROM nginx:stable-alpine
RUN rm /var/log/nginx/access.log
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/public/ /usr/share/nginx/html

View file

@ -15,6 +15,7 @@ http {
default_type application/octet-stream;
access_log /dev/stdout;
access_log /var/log/nginx/access.log;
sendfile on;