SatelliteWP / rocket-nginx

Rocket-Nginx is a Nginx configuration that makes WP-Rocket even faster by serving static pages directly without loading WordPress or PHP.
MIT License
579 stars 129 forks source link

Issue with anti-bot solution Datadome #218

Closed LaurentLeLynx closed 2 weeks ago

LaurentLeLynx commented 3 weeks ago

Describe the bug For security we use a anti bot solution named Datadome. It seems Datadome doesn't work anymore when pages are server cached and display as 304 via rocket-nginx. We think that datadome nginx module is bypassed when the request goes through rocket-nginx. How to avoid that ? is it possible to add datadome config file in rocket-nginx ?

Thank you for your help.

Versions What version of Nginx are you using ? --> nginx/1.18.0 What version of Rocket-Nginx are you using ? 3.0.0 What version of WP Rocket are you using ? 3.15.10

Expected behavior Traffic must go through the Datadome solution.

maximejobin commented 2 weeks ago

I'm sorry but I do not use datadome and don't if/how it interacts with Nginx.

This is something you'll have to look on your own, unfortunately.