I am facing deployment issue with my Angular 7 application in nginx server.

I have build  my angular 7 application  "myproject".

then content of "dist"  folder  has  been moved to 
/usr/share/nginx/html/myproject  folder.

I  dont have sites-available & site-enabled folder  in my default nginx 
installation......... I am doing  all configuration  in "nginx.conf"  only.


Currently I have this settings in "nginx.conf" 
.....................
server {
        listen       80;
        server_name  <serverip>;
        root         /usr/share/nginx/html;


        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;


        location / {
        }

.........................

I did restart to nginx server .  But still I can not open http :// 
<serverip>/myproject  in browser

what fix I need to do to open the application in browser ?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/c0c7b526-84e6-4af6-a050-e8d059cff2a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to