Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM debian:jessie
- RUN apt-get update && apt-get install -y \
- nginx
- ADD nginx.conf /etc/nginx/
- ADD logo-footer.png /etc/nginx/_error-pages/images
- ADD 50x.html /etc/nginx/_error-pages/
- ADD nginx.conf /etc/nginx/
- ADD project.conf /etc/nginx/sites-available/
- RUN ln -s /etc/nginx/sites-available/project.conf /etc/nginx/sites-enabled/project
- RUN rm /etc/nginx/sites-enabled/default
- RUN echo "upstream php-upstream { server php:9000; }" > /etc/nginx/conf.d/upstream.conf
- RUN usermod -u 1000 www-data
- CMD ["nginx"]
Add Comment
Please, Sign In to add comment