Skip to content

Instantly share code, notes, and snippets.

@eblaauw
Created June 21, 2021 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eblaauw/88e61171574565773b5583c7c2d9f745 to your computer and use it in GitHub Desktop.
Save eblaauw/88e61171574565773b5583c7c2d9f745 to your computer and use it in GitHub Desktop.
Amundsen port forwarding
FROM nginx:latest
COPY ./index.html /usr/share/nginx/html/index.html
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
server {
listen 80;
server_name frontend;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://AMUNDSEN_IP:5000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment