0

I am trying to server to Angular2 apps at:
http://my_ip/arc-client
the index gets downloaded but then for the other files, the browser tries at :
http://my_ip/(*.js | .css)
instead of :
http://my_ip/arc-client/(
.js | *.css)

I know I'm doing something wrong but I can't figure out what. Here's my Nginx config :

server {
    access_log /var/log/nginx/access.log;
    listen 80 default_server;

    server_name _;

    location /arc-client/dev/ {
            alias /home/MrMan/arc-client/www/;
            index index.html;
    }

    location /arc-overseer-client/ {
            alias /home/MrMan/arc-overseer-client/dist/;
            index index.html;
    } 
MonsieurMan
  • 340
  • 3
  • 13

0 Answers0