nginx.conf 274 B

1234567891011
  1. location /api/ {
  2. proxy_pass http://127.0.0.1:4001/;
  3. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  4. proxy_set_header Host $host;
  5. proxy_redirect off;
  6. }
  7. location / {
  8. root /usr/local/src/photoview/ui/dist;
  9. index index.html index.htm;
  10. }