pleroma/otp/templates/pleroma.cloudflare.nginx.conf.j2
changeset 123 e8d0308b94b2
parent 103 78a072bbf3c1
child 200 10051617d075
equal deleted inserted replaced
122:cde9702e3bff 123:e8d0308b94b2
    62         proxy_cache {{pleroma_instance}}-pleroma_media_cache;
    62         proxy_cache {{pleroma_instance}}-pleroma_media_cache;
    63         proxy_cache_lock on;
    63         proxy_cache_lock on;
    64         proxy_ignore_client_abort on;
    64         proxy_ignore_client_abort on;
    65         proxy_pass {{pleroma_proxy_pass}};
    65         proxy_pass {{pleroma_proxy_pass}};
    66     }
    66     }
       
    67 
       
    68     # don't expose prometheus stats publicly
       
    69     location /api/pleroma/app_metrics {
       
    70         return 404;
       
    71     }
    67 }
    72 }