power up nginx

This commit is contained in:
Yhael S
2023-10-20 11:04:53 -05:00
parent 10a9bcc70c
commit 7d2de6e31f
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 10240;
worker_connections 1024;
}
http {
@@ -27,7 +27,7 @@ http {
proxy_read_timeout 900;
send_timeout 900;
client_max_body_size 1024m;
client_max_body_size 2048m;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/cors.conf;

View File

@@ -4,7 +4,7 @@ map $http_x_cors_allowed_domain $CORS_ALLOWED_DOMAIN {
}
server {
client_max_body_size 1024m;
client_max_body_size 2048m;
proxy_connect_timeout 900;
proxy_send_timeout 900;