Skip to content

Commit

Permalink
DIGITAL-241: Vote used cms, we use drupal in our url.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsqd committed Jan 22, 2025
1 parent 6364167 commit 6d97ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/applications/nginx-waf/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ server {
#check below.
set $cf_forwarded_host "$host";
#If the forwarding host is not from the CMS then return a 403 page.
if ($cf_forwarded_host !~* ^cms) {
if ($cf_forwarded_host !~* \-drupal\-) {
error_page 403 =404 @fourohfour;
return 403;
}
Expand Down

0 comments on commit 6d97ea4

Please sign in to comment.