I'm trying to make a big request, how to generate a pdf using Django nginx, Here is my nginx.conf:
I think this request is not high.
What can I do to increase this request from the server?
server {
server_name .urbanarts.com.br;
client_max_body_size 10M;
client_body_timeout 10;
client_header_timeout 10;
keepalive_timeout 15;
send_timeout 10;
rewrite ^ https://urbanarts.com.br$request_uri? permanent;
location /static {
autoindex on;
alias /srv/www/urbanarts/project/urbanarts_cloud/app/static;
log_not_found on;
}
location / {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_pass http://127.0.0.1:8007/;
}
location /robots.txt {
root /srv/www/urbanarts/project/urbanarts_cloud/app/static;
access_log off;
log_not_found off;
}
location /favicon.ico {
root /srv/www/urbanarts/project/teste/urbanarts_cloud/static/images;
access_log off;
log_not_found off;
}
}
Thanks..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.