From 3794f925d4e8184be56f893b62f72d63a92c9a7b Mon Sep 17 00:00:00 2001 From: rene Date: Mon, 6 Apr 2026 17:32:53 +0200 Subject: [PATCH] Fix: nginx.conf in frontend build context --- frontend/nginx.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend/nginx.conf diff --git a/frontend/nginx.conf b/frontend/nginx.conf new file mode 100644 index 0000000..1b98f91 --- /dev/null +++ b/frontend/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } + + location /api/ { + proxy_pass http://backend:3001; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } +}