Skip to content

Instantly share code, notes, and snippets.

Last active May 9, 2020 07:10
What would you like to do?
Docker File for NGINX
FROM nginx
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
upstream loadbalancer {
server <ip>:8088;
server <ip>:8089;
server {
location / {
proxy_pass http://loadbalancer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment