changeset 99 | ed9f4d0ddce3 |
parent 95 | 35b63b150a51 |
child 102 | 5afa8c28e689 |
--- a/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 Sat May 16 12:57:37 2020 -0500 +++ b/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 Mon Jun 08 17:18:28 2020 -0500 @@ -40,10 +40,8 @@ # the nginx default is 1m, not enough for large media uploads client_max_body_size 16m; - root {{nginx_html_root}}; - location = / { - index index.html; + return 301 http://www.$host$request_uri; } location / {