summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/config.default.php8
-rw-r--r--nginx.conf1
2 files changed, 5 insertions, 4 deletions
diff --git a/config/config.default.php b/config/config.default.php
index c0b00715..bcac506a 100644
--- a/config/config.default.php
+++ b/config/config.default.php
@@ -15,7 +15,7 @@ return [
'api_key' => '',
// Enable maintenance mode (show a static page)
- 'maintenance' => false,
+ 'maintenance' => env('MAINTENANCE', false),
// Set to development to enable debugging messages
'environment' => 'production',
@@ -24,10 +24,10 @@ return [
'faq_url' => 'https://events.ccc.de/congress/2013/wiki/Static:Volunteers',
// Contact email address, linked on every page
- 'contact_email' => 'mailto:ticket@c3heaven.de',
+ 'contact_email' => env('CONTACT_EMAIL', 'mailto:ticket@c3heaven.de'),
// From address of all emails
- 'no_reply_email' => 'noreply@engelsystem.de',
+ 'no_reply_email' => env('NO_REPLY_EMAIL', 'noreply@engelsystem.de'),
// Default theme, 1=style1.css
'theme' => 1,
@@ -50,7 +50,7 @@ return [
'display_news' => 6,
// Users are able to sign up
- 'registration_enabled' => true,
+ 'registration_enabled' => env('REGISTRATION_ENABLED', 1),
// Only arrived angels can sign up for shifts
'signup_requires_arrival' => false,
diff --git a/nginx.conf b/nginx.conf
index 0cf97c11..bbaf5824 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -28,6 +28,7 @@ http {
fastcgi_pass engelsystem:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+ fastcgi_param HTTPS on;
include fastcgi_params;
}
}