0

I deployed Angular-11 Application into Ubuntu NGINX.

/etc/nginx/sites-available/myapp.conf:

server {
        listen 80;
        listen [::]:80;

        root /var/www/html/myapp;
        index index.html index.htm index.nginx-debian.html;

        server_name myapp.com;

        location / {
                try_files $uri $uri/ =404;
        }
   }

and got this error on the browser:

403 Forbidden nginx/1.18.0 (Ubuntu)

How do I get this resolved?

Thanks

user11352561
  • 1,797
  • 8
  • 31
  • 62

0 Answers0