nginx.conf 729 B

12345678910111213141516171819202122232425262728293031323334
  1. worker_processes 1;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include mime.types;
  7. default_type application/octet-stream;
  8. access_log logs/access.log;
  9. sendfile on;
  10. keepalive_timeout 65;
  11. server {
  12. listen 9360;
  13. server_name privacy_retrieval_frontend;
  14. location / {
  15. root /usr/share/nginx/html;
  16. index index.html index.htm;
  17. try_files $uri $uri/ /index,html;
  18. }
  19. location /api {
  20. proxy_pass http://172.42.0.12:9361/api;
  21. proxy_read_timeout 120s;
  22. proxy_connect_timeout 180s;
  23. proxy_send_timeout 180s;
  24. client_max_body_size 200m;
  25. }
  26. }
  27. }