Fix nginx error log and debug Redis URL format
This commit is contained in:
@@ -25,6 +25,9 @@ COPY start.sh /app/code/
|
||||
COPY healthcheck.js /app/code/
|
||||
COPY nginx.conf /etc/nginx/sites-available/default
|
||||
|
||||
# Override nginx global error log to prevent read-only filesystem error
|
||||
RUN sed -i 's|error_log /var/log/nginx/error.log;|error_log /dev/stderr;|' /etc/nginx/nginx.conf
|
||||
|
||||
# Make scripts executable
|
||||
RUN chmod +x /app/code/start.sh /app/code/healthcheck.js
|
||||
|
||||
|
Reference in New Issue
Block a user