Setting up Prometheus to collect Caddy metrics
Prometheus and Caddy-metrics
This is a simple example of how to setup Prometheus to collect Caddy metrics.
Prometheus and Caddy-metrics
This is a simple example of how to setup Prometheus to collect Caddy metrics.
How to deal with SEC_ERROR_REVOKED_CERTIFICATE
Recently I had a problem with my Caddy server . I wasn’t aware that it’s related to Caddy - the initial thought was that something went wrong with the SSL certificate. But I was wrong. The message was pretty “platonic”
Error code: SEC_ERROR_REVOKED_CERTIFICATE
Welcome in 2019 – it’s time to upgrade out outdated LAMP stack series articles, with new “How To” setup basic web server for our stack.
When you start looking for a solution, you will find answers like using Cloudfront, lambda, and middleware 3rd party services. And basically, you don’t have any other choice. There is no simple solution to your problem. But – as long as you use Caddy Server solution is super easy.
Caddy it’s a new kid in the block in category super light web servers. Personally – I love it. Same love I feel to CodeIgniter . To marge both of them, we need only basic rewrite rule to drop into caddyfile.
api.spidersoft.com.au {
root /var/www/html/spidersoft.com.au
gzip
rewrite {
to {path} {path}/ /index.php?/{uri}
}
fastcgi / /var/run/php-sock php
}