Skip to content

Do not pass version to the init() function #108

@blotus

Description

@blotus

Some users are modifying /etc/nginx/conf.d/crowdsec_nginx.conf (or the openresty one), which can break during upgrades, as the file is currently not considered as a config file.

This file is updated for each release, as the version (and type) of the bouncer is set in it.

We should probably have the bouncers install a specific version.lua that would have the type/version in it. The lua lib would import this file to get that information (with a conditional import to make sure nothing breaks if it cannot be imported for any reason).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions