add nginx redirects
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:3001
|
||||||
|
}
|
||||||
|
|
||||||
|
location /api {
|
||||||
|
proxy_pass http://localhost:3000
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
[Container]
|
[Container]
|
||||||
Image=docker.io/nginx
|
Image=docker.io/nginx
|
||||||
Pod=vote.pod
|
Pod=vote.pod
|
||||||
|
Volume=./default.conf:/etc/nginx/conf.d/default.conf
|
||||||
Reference in New Issue
Block a user