title: Removing hash from URL of Angular app is not working within docker container
body: <p>I am facing one issue after removing <code>hash</code> from URL of one of my angular app which running through docker. I am explaining my code below.</p>
  <p><code>src/app/app-routing.module.ts::</code></p>
  <pre><code>imports: [
      ...
      RouterModule.forRoot(routes)  // removed { useHash: true }
  ]
  </code></pre>
  <p>So after removing <code>{ useHash: true }</code> now no hash is coming with <code>URL</code> but issue is when I am refreshing the page its giving <code>404</code> error. My angular application is running inside docker container and I am using <code>ubuntu:20.04</code> server for docker like below.</p>
  <p><code>Dockerfile::</code></p>
  <pre><code>FROM ubuntu:20.04
  
  LABEL maintainer=&quot;a@gmail.com&quot;
  LABEL build_date=&quot;2021-09-17&quot;
  
  RUN apt-get update
  
  # SET TZ
  RUN apt-get install -y tzdata
  RUN echo 'Asia/Kolkata' &gt; /etc/timezone
  RUN dpkg-reconfigure --frontend noninteractive tzdata
  ...................................
  ...................................
  </code></pre>
  <p>Here I need after removing the <code>#</code> also when user will refresh the page the same page will appear again. Please help me to resolve this issue.</p>