Browse Source

nginx api config

patch-1
Mayank 5 years ago
parent
commit
4cdbb9f7aa
  1. 4
      nginx/conf.d/default.conf

4
nginx/conf.d/default.conf

@ -10,8 +10,8 @@ server {
try_files $uri $uri/ /index.html;
}
location /invoicer/ {
location /api/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
proxy_pass http://localhost:8181/api/;
proxy_pass http://localhost:3005/;
}
}

Loading…
Cancel
Save