Skip to content

Instantly share code, notes, and snippets.

@ChewySalmon
Created July 11, 2021 09:21
Show Gist options
  • Save ChewySalmon/7b71ef61bbcad1cf6edc3e558ef8bc30 to your computer and use it in GitHub Desktop.
Save ChewySalmon/7b71ef61bbcad1cf6edc3e558ef8bc30 to your computer and use it in GitHub Desktop.
Nginx web dockerfile
FROM nginx:1.21
COPY vhost.conf /etc/nginx/conf.d/default.conf
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment