Skip to content
Snippets Groups Projects
Commit e61065cd authored by migudel's avatar migudel :speech_balloon:
Browse files

Arreglo SPA

parent e2e450a3
No related branches found
No related tags found
1 merge request!26Revert "Funciona register"
......@@ -19,7 +19,7 @@ FROM nginx:alpine AS production
# Copiar los archivos de construcción generados en la etapa anterior a la carpeta de Nginx
COPY --from=build /app/dist/app/browser /usr/share/nginx/html
COPY --from=build-step /app/*.conf /etc/nginx/sites-available/default
COPY --from=build /app/nginx-custom.conf /etc/nginx/conf.d/default.conf
# Exponer el puerto 80 para Nginx
EXPOSE 80
......
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment