pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
changeset 166 4ab7efce7321
parent 163 40b78af86337
child 200 10051617d075
equal deleted inserted replaced
165:00e0af8e76a4 166:4ab7efce7321
    35     gzip_http_version 1.1;
    35     gzip_http_version 1.1;
    36     gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
    36     gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
    37 
    37 
    38     # the nginx default is 1m, not enough for large media uploads
    38     # the nginx default is 1m, not enough for large media uploads
    39     client_max_body_size 16m;
    39     client_max_body_size 16m;
    40 
       
    41     location /.well-known {
       
    42         return 404;
       
    43     }
       
    44 
       
    45     location /_matrix {
       
    46         return 404;
       
    47     }
       
    48 
    40 
    49     location = / {
    41     location = / {
    50         return 301 http://www.$host$request_uri;
    42         return 301 http://www.$host$request_uri;
    51     }
    43     }
    52 
    44