default.conf 300 B

12345678910111213141516171819202122
  1. server
  2. {
  3. listen 80;
  4. listen [::]:80;
  5. location = /api/home
  6. {
  7. proxy_pass http://flask:5000/api/0032/;
  8. }
  9. location /api
  10. {
  11. proxy_pass http://flask:5000;
  12. }
  13. error_page 404 /404.html;
  14. location = /40x.html {}
  15. error_page 500 502 503 504 /50x.html;
  16. location = /50x.html {}
  17. }