add nginx redirects

This commit is contained in:
2025-06-01 14:53:32 +02:00
parent 5cc51ee334
commit 59c85f0a11
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://localhost:3001
}
location /api {
proxy_pass http://localhost:3000
}
}
+1
View File
@@ -1,3 +1,4 @@
[Container]
Image=docker.io/nginx
Pod=vote.pod
Volume=./default.conf:/etc/nginx/conf.d/default.conf