Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 730 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 730 Bytes

NewNexus Frontend

Howto run

NGINX configuration

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;
}

Apache configuration

Alias       /               /Users/xanderarling/Documents/dev/workshop/frontend/app/
Redirect    /api/           http://localhost:8080/newnexus/api/