Fix max upload size for nginx
This commit is contained in:
parent
f9d968f5ec
commit
09d3dbc2a2
@ -16,6 +16,7 @@ http {
|
|||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
# server_name yourdomain.com www.yourdomain.com;
|
# server_name yourdomain.com www.yourdomain.com;
|
||||||
|
client_max_body_size 200M;
|
||||||
|
|
||||||
# Redirect all HTTP requests to HTTPS
|
# Redirect all HTTP requests to HTTPS
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
@ -27,6 +28,7 @@ http {
|
|||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
# server_name yourdomain.com www.yourdomain.com;
|
# server_name yourdomain.com www.yourdomain.com;
|
||||||
|
|
||||||
|
client_max_body_size 200M;
|
||||||
|
|
||||||
ssl_certificate /certs/cert.pem;
|
ssl_certificate /certs/cert.pem;
|
||||||
ssl_certificate_key /certs/key.pem;
|
ssl_certificate_key /certs/key.pem;
|
||||||
|
Loading…
Reference in New Issue
Block a user