mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 15:19:22 +01:00
power up nginx
This commit is contained in:
@@ -5,7 +5,7 @@ error_log /var/log/nginx/error.log notice;
|
|||||||
pid /var/run/nginx.pid;
|
pid /var/run/nginx.pid;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 10240;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
@@ -27,7 +27,7 @@ http {
|
|||||||
proxy_read_timeout 900;
|
proxy_read_timeout 900;
|
||||||
send_timeout 900;
|
send_timeout 900;
|
||||||
|
|
||||||
client_max_body_size 1024m;
|
client_max_body_size 2048m;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
include /etc/nginx/cors.conf;
|
include /etc/nginx/cors.conf;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ map $http_x_cors_allowed_domain $CORS_ALLOWED_DOMAIN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
client_max_body_size 1024m;
|
client_max_body_size 2048m;
|
||||||
|
|
||||||
proxy_connect_timeout 900;
|
proxy_connect_timeout 900;
|
||||||
proxy_send_timeout 900;
|
proxy_send_timeout 900;
|
||||||
|
|||||||
Reference in New Issue
Block a user