Skip to content

Commit

Permalink
UPDATE nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaFM committed Dec 10, 2024
1 parent 5e77cff commit ddbb142
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nginx_copy_test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddbb142

Please sign in to comment.