pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
changeset 123 e8d0308b94b2
parent 103 78a072bbf3c1
child 163 40b78af86337
equal deleted inserted replaced
122:cde9702e3bff 123:e8d0308b94b2
    70         proxy_cache {{pleroma_instance}}-pleroma_media_cache;
    70         proxy_cache {{pleroma_instance}}-pleroma_media_cache;
    71         proxy_cache_lock on;
    71         proxy_cache_lock on;
    72         proxy_ignore_client_abort on;
    72         proxy_ignore_client_abort on;
    73         proxy_pass {{pleroma_proxy_pass}};
    73         proxy_pass {{pleroma_proxy_pass}};
    74     }
    74     }
       
    75 
       
    76     # don't expose prometheus stats publicly
       
    77     location /api/pleroma/app_metrics {
       
    78         return 404;
       
    79     }
    75 }
    80 }