Browse Source

Add invoicer to nginx

patch-1
nolim1t 5 years ago
parent
commit
8a9d4eb602
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 10
      nginx/conf.d/default.conf

10
nginx/conf.d/default.conf

@ -4,5 +4,13 @@ server {
server_name _;
root /etc/nginx/www;
index index.html;
try_files $uri /index.html;
location / {
try_files $uri $uri/index.html =404;
}
location /invoicer/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
proxy_pass http://localhost:8181/api/;
}
}

Loading…
Cancel
Save