location / {
alias /Users/xanderarling/Documents/dev/workshop/frontend/app/;
index index.html;
try_files $uri /index.html;
}
location /api/ {
proxy_pass http://localhost:8080/newnexus/api/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
}
Alias / /Users/xanderarling/Documents/dev/workshop/frontend/app/
Redirect /api/ http://localhost:8080/newnexus/api/