Skip to content

Commit

Permalink
Remove APP_ENV=prod from apache config
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Nov 2, 2023
1 parent e720753 commit ff6166b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ security:
pattern: ^/csp/report$
security: false

saml_based:
custom_authenticators:
- Surfnet\SamlBundle\Security\Authentication\SamlAuthenticator
# saml_based:
# custom_authenticators:
# - Surfnet\SamlBundle\Security\Authentication\SamlAuthenticator

access_control:
- { path: ^/saml, roles: PUBLIC_ACCESS, requires_channel: https }
- { path: ^/authentication, roles: PUBLIC_ACCESS, requires_channel: https }
- { path: ^/, roles: ROLE_USER, requires_channel: https }
- { path: ^/, roles: PUBLIC_ACCESS, requires_channel: https }
1 change: 0 additions & 1 deletion docker/conf/apache2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
DocumentRoot /var/www/html/public

SetEnv HTTPS on
SetEnv APP_ENV prod
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

<Directory "/var/www/html/public">
Expand Down
1 change: 0 additions & 1 deletion docker/conf/selfservice-apache2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

DocumentRoot /var/www/html/public

SetEnv APP_ENV prod
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

<Directory "/var/www/html/public">
Expand Down

0 comments on commit ff6166b

Please sign in to comment.