Bind mount /var/log/ directories for non-local deployment and stop NGINX logging to stdout and stderr
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" decoding="async" class="lazy" data-src="https://img.shields.io/badge/reflectometry%20Task%20327%20-%20completed%20-%20grey"> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" decoding="async" class="lazy" data-src="https://img.shields.io/badge/reflectometry%20Task%20328%20-%20in%20progress%20-%20green">
Work done:
-
compose bind mounts -
unlink
NGINX logs fromstdout
andstderr
-
create image for NGINX -
logging subdirectories in reflectivitydev.sns.gov
-
verify that logs are accessible at reflectivitydev.sns.gov:/var/log/web_reflectivity/