pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
changeset 163 40b78af86337
parent 123 e8d0308b94b2
child 166 4ab7efce7321
equal deleted inserted replaced
162:a7a64ed07204 163:40b78af86337
    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     }
    40 
    48 
    41     location = / {
    49     location = / {
    42         return 301 http://www.$host$request_uri;
    50         return 301 http://www.$host$request_uri;
    43     }
    51     }
    44 
    52