diff --git a/.env.production b/.env.production index 35b27c3..c38ad01 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ APP_NAME="RPG Companion for Discord" -APP_URL=https://rpg-companion.mariovalney.com +APP_URL=http://rpg-companion.mariovalney.com APP_ENV=production APP_DEBUG=false diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 0b640f0..ea9d8d1 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -24,7 +24,7 @@ public function register() */ public function boot() { - URL::forceScheme('https'); + URL::forceScheme('http'); // View Composers View::composer('components.sidebar', 'App\Http\View\Composers\GuildSelectorComposer'); diff --git a/ci/docker/production/vhost.conf b/ci/docker/production/vhost.conf index 2455c04..560b23d 100644 --- a/ci/docker/production/vhost.conf +++ b/ci/docker/production/vhost.conf @@ -9,3 +9,16 @@ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined + + + SSLEngine On + DocumentRoot /var/www/html/public + + + AllowOverride all + Require all granted + + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined +