1
Fork 0

Remove support for goaccess

We full Plausible now!
This commit is contained in:
Jake Howard 2020-09-05 17:27:42 +01:00
parent 4060c5b6ba
commit 05f2749e44
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 3 additions and 12 deletions

View file

@ -21,8 +21,6 @@ RUN ./scripts/release.sh
# Production run # Production run
FROM nginx:stable-alpine FROM nginx:stable-alpine
RUN rm /var/log/nginx/access.log
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/public/ /usr/share/nginx/html COPY --from=build /app/public/ /usr/share/nginx/html

View file

@ -48,7 +48,7 @@ services:
Yes, quite well actually! I've got an incredibly simple analytics tool which gives just the information I need. It's performant, it's simple, and has almost 0 runtime overhead. Yes, quite well actually! I've got an incredibly simple analytics tool which gives just the information I need. It's performant, it's simple, and has almost 0 runtime overhead.
You can see it in action here: https://theorangeone.net/stats/. You can see it in action here: ~~theorangeone.net/stats.~~
## Issues ## Issues
@ -57,3 +57,5 @@ GoAccess isn't the perfect tool for everyone. Because it's so simple, it's not e
I've also heard GoAccess can get slow to generate with incredibly large sites, which whilst unlikely to affect me, could happen to someone! I've also heard GoAccess can get slow to generate with incredibly large sites, which whilst unlikely to affect me, could happen to someone!
Besides that, this was a great success! Besides that, this was a great success!
Update August 2020: I recently decided to deploy a fully-featured yet still private analytics solution using [Plausible]({{< relref "self-hosting-plausible" >}}).

View file

@ -14,7 +14,6 @@ http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
access_log /dev/stdout; access_log /dev/stdout;
access_log /var/log/nginx/access.log;
server_tokens off; server_tokens off;
@ -42,23 +41,15 @@ http {
add_header Referrer-Policy "same-origin"; add_header Referrer-Policy "same-origin";
add_header Strict-Transport-Security "max-age=5184000"; add_header Strict-Transport-Security "max-age=5184000";
location ~* ^/(_matrix|stats|\.well-known/matrix)+? {
access_log off;
}
location /ping { location /ping {
access_log off;
return 200 "PONG"; return 200 "PONG";
} }
location ~* \.(png|jpg|gif|svg|txt|css|js|xml|eot|ttf|woff2|woff)$ { location ~* \.(png|jpg|gif|svg|txt|css|js|xml|eot|ttf|woff2|woff)$ {
access_log off;
add_header Cache-Control "public, max-age=0, must-revalidate"; add_header Cache-Control "public, max-age=0, must-revalidate";
} }
location = /favicon.ico { location = /favicon.ico {
access_log off;
return 302 /img/logo-transparent.png; return 302 /img/logo-transparent.png;
} }