Skip to content

datmt

  • Home
  • Tutorials
    • backend
      • java
        • spring
        • JPA
        • javaee
    • devops
    • frontend
    • Linux
    • NoSQL Databases
  • Privacy Policy
  • Cookie Policy (EU)
  • Contact

nginx

Fix Angular 404 on reload Nginx

November 30, 2021 by Đạt Trần

To keep it short, here is the code you need to replace in /etc/nginx/conf.d/default.conf You may want to update server_name to your domain name if you are not deploying in docker. Otherwise, this config works with docker. Give it a try, you’ll see that the 404 page is gone when you refresh your site. Đạt … Read more

Categories backend Tags angular, nginx, nginx 404 Leave a comment
  • Architecture
  • backend
  • Clean Code
  • Cloud Computing
  • Databases
  • devops
  • frontend
  • fundamental
  • General Tips
  • git
  • java
  • javaee
  • JPA
  • kubernetes
  • Linux
  • management
  • mobile development
  • network
  • NoSQL Databases
  • opensource
  • python
  • quarkus
  • Relational Databases
  • scala
  • Security
  • spring
  • SQL
  • System Design
  • WordPress Development

Copyright Ⓒ datmt

© 2025 datmt • Built with GeneratePress