initial
This commit is contained in:
2
nginx/Dockerfile
Normal file
2
nginx/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM nginx
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
15
nginx/nginx.conf
Normal file
15
nginx/nginx.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
events {}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8000/api/;
|
||||
}
|
||||
|
||||
; location / {
|
||||
; proxy_pass http://frontend:3000/;
|
||||
; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user