Skip to content

Commit

Permalink
Force usage of https on non-dev environments
Browse files Browse the repository at this point in the history
  • Loading branch information
pdpotter committed Mar 11, 2024
1 parent 64f3980 commit 10e63b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/packages/dev/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameters:
router.request_context.scheme: 'http'
asset.request_context.secure: false
2 changes: 2 additions & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ parameters:
app.page_image_directory: '%env(PAGE_IMAGE_PATH)%'
app.image_directory: '%env(IMAGE_PATH)%'
app.morph: '%env(MORPH_HOST)%'
router.request_context.scheme: 'https'
asset.request_context.secure: true

services:
# default configuration for services in *this* file
Expand Down

0 comments on commit 10e63b3

Please sign in to comment.