Skip to content

Commit

Permalink
Revert error pages
Browse files Browse the repository at this point in the history
* It is not possible to have pages created by terraform when they
  already exist:
  - Pages are shared between all the environment
  - Pages should be manually created
* Backup code to create error pages
  • Loading branch information
albal committed Sep 26, 2023
1 parent 34c9d50 commit e9a3c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Terraform/appgw.tf
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ resource "azurerm_application_gateway" "appgw" {

custom_error_configuration {
status_code = "HttpStatus403"
custom_error_page_url = azurerm_storage_blob.error-403.url
custom_error_page_url = "https://s185errorpage.blob.core.windows.net/s185errorpage/403.html"
}

custom_error_configuration {
status_code = "HttpStatus502"
custom_error_page_url = azurerm_storage_blob.error-502.url
custom_error_page_url = "https://s185errorpage.blob.core.windows.net/s185errorpage/502.html"
}

rewrite_rule_set {
Expand Down
File renamed without changes.

0 comments on commit e9a3c51

Please sign in to comment.