diff options
Diffstat (limited to 'pleroma-otp/templates')
| -rw-r--r-- | pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 b/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 index dd32eae..0594f81 100644 --- a/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 +++ b/pleroma-otp/templates/pleroma.cloudflare.index.nginx.conf.j2 @@ -40,10 +40,8 @@ server { # 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 / { |
