diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 85c4971..ec7cbd3 100644 --- a/nginx/conf.d/default.conf +++ b/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/; } }