diff --git a/angular/RestClient/Dockerfile b/angular/RestClient/Dockerfile
index 22f1432244fd2560ef3afbab315703dc52b0cd59..3557c5fae54aafd2c685c1cfffd9080037b02932 100644
--- a/angular/RestClient/Dockerfile
+++ b/angular/RestClient/Dockerfile
@@ -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
diff --git a/angular/RestClient/nginx-custom.conf b/angular/RestClient/nginx-custom.conf
index a560219f7e4adb58bc6fd7e0abf571675ee9b5fa..fd070b29cc372aeb9d08341e49cd66b55df2ade9 100644
--- a/angular/RestClient/nginx-custom.conf
+++ b/angular/RestClient/nginx-custom.conf
@@ -1,8 +1,10 @@
 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