Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
En la aplicación Reload Angular7 obteniendo 404 después de la implementación

Se eliminó # de la URL antes de usar "{provide: LocationStrategy, useClass: HashLocationStrategy}" esto en el archivo appModule Después de eliminar esto, obtenga 404 y

https://example.com/dashboard//home en los registros, vi que NGINX agrega un '/' adicional

Después de los cambios de NGINX

 location / { alias /usr/share/nginx/html/; try_files $uri $uri/ /index.html; try_files $uri $uri/ = 404; try_files $uri $uri/ /index.html =404; }

probé estas 2 soluciones a continuación

Angular 2 alojado en IIS: error HTTP 404

Implementación angular: 404 en la página Actualizar

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

location / { include /etc/nginx/mime.types; try_files $uri /index.html =404; }

agregó esto a NGINX y funcionó para mí

Gracias :)

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!