From 58e15711b9c9726580ef1a7c03089f824be23034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20P=C3=A9rez=20Arcas?= Date: Mon, 30 Mar 2026 08:24:39 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20z1/frontend/nginx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- z1/frontend/nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 z1/frontend/nginx.conf diff --git a/z1/frontend/nginx.conf b/z1/frontend/nginx.conf new file mode 100644 index 0000000..07f68dc --- /dev/null +++ b/z1/frontend/nginx.conf @@ -0,0 +1,16 @@ +server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html; + } + + location /api/ { + proxy_pass http://backend:5000/api/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } +} \ No newline at end of file