# DataDome Nginx Module

Documentation available here: https://docs.datadome.co/docs/nginx

## Rollback manually

Use this action in case of an issue has been raised in the latest release of the module and you don't want more customers to get the faulty latest release.

It will replace the download package available in the public documentation of the module by the previously released version you set as an input.

1. In the current GitHub repository, go to the [**Actions** tab](https://github.com/DataDome/NginxDome/actions).

2. Click on [**Push chosen version to "latest" url of package.datadome.co**](https://github.com/DataDome/NginxDome/actions/workflows/rollback_version.yml) on the left most part of the screen.
There is a "play" button meaning that this workflow can be triggered manually.

3. Click on **Run worflow**.

4. Do not change the branch which is **master** by default.

5. Manually enter the version of the release that you want to be accessible from the public documentation.
You can get the list of the release versions (that are for us the same as the tags) in the [GitHub Releases tab](https://github.com/DataDome/NginxDome/releases).

6. Click on **Run workflow**.

7. When the action succeeds, verify that the [link from the public documentation](https://package.datadome.co/linux/DataDome-Nginx-latest.tgz) dowloads the version defined in step 5. Clear your cache if needed.

8. Communicate inside the Slack channel #support about your change.
