Fix max upload size for nginx

This commit is contained in:
Vadim Likholetov 2023-12-11 18:49:27 +02:00
parent f9d968f5ec
commit 09d3dbc2a2

View File

@ -16,6 +16,7 @@ http {
listen 80;
listen [::]:80;
# server_name yourdomain.com www.yourdomain.com;
client_max_body_size 200M;
# Redirect all HTTP requests to HTTPS
return 301 https://$host$request_uri;
@ -27,6 +28,7 @@ http {
listen [::]:443 ssl;
# server_name yourdomain.com www.yourdomain.com;
client_max_body_size 200M;
ssl_certificate /certs/cert.pem;
ssl_certificate_key /certs/key.pem;