Giter VIP home page Giter VIP logo

Comments (3)

hellais avatar hellais commented on August 16, 2024

fatal: expires max on file that is changed on update makes it cached in browsers forever, re-deploy piwik on different domain to fix that

I would not classify this as fatal, nor would I require re-deploy on different domain. If we must expire the file, we can just add a cache buster to the end of the request (ex. /piwik.js?RANDOM_NONCE)

from sysadmin.

hellais avatar hellais commented on August 16, 2024

I did some work on this in this PR: #228.

I believe of the items you list these are done:

  • use explicit piwik version during deploy
  • re-enable letsencrypt role
  • monitor /ping page <- I have enabled support for this
  • expires max on file that is changed on update ...

Most of it was done by virtue of the fact of vendoring the latest piwik nginx configuration from: matomo-org/matomo-nginx@389a670.
This commit contains the differences compared to that current master branch: 9c9b8cf.

I didn't do these though:

  • use tar instead of zip during deploy
    This doesn't seem like a big problem. Is there a specific reason you would like to do this?

define "default" set of protocols / cyphers / DH params and so on for all nginx instances

I guess this should probably be done as part of some "base" ansible configuration settings

cleanup variables with same name defined in different roles

I was not entirely sure what you meant by this

/srv/piwik/releases/*/piwik should be mostly root-owned
it's unclear if pgp5-fpm process should have www-data gid to listen on socket

I didn't check these, but we should try this out when deploying to ensure that nothing breaks.

As this turned out to be a bit more involved than I was originally expecting it would be useful to get some extra eyes on this.

from sysadmin.

hellais avatar hellais commented on August 16, 2024

This has been done as part of #355

from sysadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.