forked from AFPy/infra
Set client_max_body_size to 4m to match Discourse configuration.
This commit is contained in:
parent
0f9e8e5cbd
commit
861af29c7d
|
@ -27,6 +27,7 @@
|
|||
access_log /var/log/nginx/{{ discourse_domain }}-access.log;
|
||||
error_log /var/log/nginx/{{ discourse_domain }}-error.log;
|
||||
include snippets/letsencrypt-{{ discourse_domain }}.conf;
|
||||
client_max_body_size 4m;
|
||||
location / {
|
||||
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;
|
||||
proxy_set_header Host $http_host;
|
||||
|
|
Loading…
Reference in New Issue
Block a user