Foundation

This commit is contained in:
2025-03-28 08:23:48 -04:00
parent 88b0fa3148
commit d710450697
8 changed files with 64 additions and 0 deletions

3
nginx/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf

16
nginx/nginx.conf Normal file
View File

@@ -0,0 +1,16 @@
events {}
http {
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://app:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}