diff options
author | ADRN <adrien@luxeylab.net> | 2024-03-10 21:05:43 +0100 |
---|---|---|
committer | ADRN <adrien@luxeylab.net> | 2024-03-10 21:05:43 +0100 |
commit | 263dad0243c2864cca59c5829b0d84b3938aea49 (patch) | |
tree | a12b24a8436e8daae2840c4383c1b3c8a9eb00f6 /cluster | |
parent | aaf95aa1105ee0a3e7f83b39a98ebe460c17366b (diff) | |
download | nixcfg-263dad0243c2864cca59c5829b0d84b3938aea49.tar.gz nixcfg-263dad0243c2864cca59c5829b0d84b3938aea49.zip |
ajout redirection nginx des salons Jitsi suspects
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/prod/app/jitsi/config/nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cluster/prod/app/jitsi/config/nginx.conf b/cluster/prod/app/jitsi/config/nginx.conf index 6b486e2..01177b5 100644 --- a/cluster/prod/app/jitsi/config/nginx.conf +++ b/cluster/prod/app/jitsi/config/nginx.conf @@ -91,6 +91,11 @@ http { # tcp_nodelay on; #} + + location ~ "2daut2wank2|2duat2wank|2duat2wank0|2duat2wank1|2duat2wank2|2duat2wank3|2duatr2wank|2duatr2wank0|2duatr2wank1|2duatr2wank2|2wank2daut2|daut1|duat2wank|duat2wank2|duatr2wank2|prettypanties|slutgfs|wabk2daugther|wank2daugther|wank2daut|wank2daut2|wank2daut3|wankwatch" { + return 302 https://www.service-public.fr/particuliers/vosdroits/R17674; + } + location = /http-bind { # We add CORS to use a different frontend which is useful for load testing as we do not want to advertise too much our URL add_header 'Access-Control-Allow-Headers' 'content-type'; |