
Plausible proxy for fly.io using NGINX
NGINX is a very efficient forward proxy and the ideal tool for this job. The goal is to set up a proxy in front of Plausible that consumes very little memory. You can find the code below as repo, ready to deploy. The Dockerfile is pretty basic: FROM nginx COPY nginx.conf /etc/nginx/nginx.conf RUN mkdir -p /var/cache/nginx CMD ["nginx", "-g", "daemon off;"] We need to fetch the tracking script from Plausible:...