Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 11, 2024
1 parent 0667837 commit 293722f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ EOF
{
listen 443 ssl;
http2 on;
http2_body_preread_size 512k;
server_name ${AI_FULL_DOMAIN};
ssl_certificate ${SSL_FULL_CHAIN};
ssl_certificate_key ${SSL_KEY};
Expand All @@ -236,6 +237,7 @@ EOF
client_max_body_size 100M;
client_body_buffer_size 70m;
client_header_buffer_size 50k;
large_client_header_buffers 2 50k;
location / {
proxy_pass http://${AI_SERVICE_HOST}:${AI_SERVICE_PORT}/;
Expand All @@ -244,10 +246,6 @@ EOF
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_connect_timeout 20s;
proxy_send_timeout 600s;
proxy_read_timeout 150s;
proxy_set_header Upgrade ${NG_HTTP_UPGRADE};
proxy_set_header Connection "upgrade";
proxy_set_header Host ${NG_HOST};
Expand Down

0 comments on commit 293722f

Please sign in to comment.