Skip to content

Commit 129e1ec

Browse files
committed
Make sure we support https
1 parent 4a6950c commit 129e1ec

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

app/config/config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,22 @@ framework:
1717
engines: ['twig']
1818
#assets_version: SomeVersionScheme
1919
assets_base_urls:
20-
http: [http://%site_domain%]
20+
http: ["%site_schema%://%site_domain%"]
21+
ssl: ["%site_schema%://%site_domain%"]
2122
default_locale: "%locale%"
2223
trusted_proxies: ~
2324
session:
24-
save_path: %kernel.root_dir%/var/sessions
25+
save_path: "%kernel.root_dir%/var/sessions"
2526
name: sysession
2627
fragments: ~
2728
http_method_override: true
2829

2930
# Twig Configuration
3031
twig:
31-
debug: %kernel.debug%
32-
strict_variables: %kernel.debug%
32+
debug: "%kernel.debug%"
33+
strict_variables: "%kernel.debug%"
3334
globals:
34-
site_url: http://%site_domain%
35+
site_url: "%site_schema%://%site_domain%"
3536
ga_analytics: UA-26746572-1
3637

3738
# Assetic Configuration

app/config/parameters.yml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ parameters:
1010
locale: sv
1111
secret: ChangedForSensioLabsInsight
1212
site_domain: localhost
13+
site_schema: http
1314
meetup_api_key: ChangeMe

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)