Angular is packaged and put on nginx, and there is an error in secondary route refresh

there is no problem with root directory refresh and first-level routing refresh
figure



nginx

where blog in dist is my package file, how should I modify it

Jun.20,2022

< H2 > guess method < / H2 >
  • looks like it has nothing to do with nginx. Is the absolute path used when packing? it should be changed to. / li >

how to solve the problem

Menu