lib/generators/templates/_passenger.erb in dockerfile-rails-1.5.1 vs lib/generators/templates/_passenger.erb in dockerfile-rails-1.5.2
- old
+ new
@@ -18,12 +18,12 @@
system 'nginx -s stop' if processes == 0
EOF
<% end -%>
EOF
RUN echo "daemon off;" >> /etc/nginx/nginx.conf && \
- sed -i 's/access_log\s.*;/access_log \/dev\/stdout;/' /etc/nginx/nginx.conf && \
- sed -i 's/error_log\s.*;/error_log \/dev\/stderr info;/' /etc/nginx/nginx.conf && \
+ sed -i 's/access_log\s.*;/access_log stdout;/' /etc/nginx/nginx.conf && \
+ sed -i 's/error_log\s.*;/error_log stderr info;/' /etc/nginx/nginx.conf && \
<% if options['max-idle'] -%>
chmod +sx /etc/nginx/sites-enabled/hook_detached_process && \
<% end -%>
sed -i 's/user www-data/user rails/' /etc/nginx/nginx.conf && \
- mkdir /var/run/passenger-instreg
\ No newline at end of file
+ mkdir /var/run/passenger-instreg