cleanup
This commit is contained in:
4
2026/kalmar/web/handout/nginx/Dockerfile
Normal file
4
2026/kalmar/web/handout/nginx/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Just adding nginx so we can expose everything over one port. It's not part of the challenge
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
17
2026/kalmar/web/handout/nginx/nginx.conf
Normal file
17
2026/kalmar/web/handout/nginx/nginx.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location /report {
|
||||
proxy_pass http://bot:3123;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://web:5000;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user