From ddbb142d104a46f5274d7c3eb4442b514d3025a2 Mon Sep 17 00:00:00 2001 From: "Jessica F. Martinez" Date: Tue, 10 Dec 2024 15:24:03 +0100 Subject: [PATCH] UPDATE nginx conf --- nginx_copy_test.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx_copy_test.conf b/nginx_copy_test.conf index 3de7721..8927fd4 100644 --- a/nginx_copy_test.conf +++ b/nginx_copy_test.conf @@ -10,6 +10,10 @@ server { try_files $uri $uri/ /index.html; } + location /_nuxt/ { + try_files $uri $uri/ =404; # Asegura que los archivos estáticos se sirvan correctamente + } + # Pasar rutas dinámicas (/api/*) al servidor de Nuxt location /api { proxy_pass http://127.0.0.1:3000; # Puerto donde corre Nuxt server