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