From 5e9c725ab5d85a0767917b5f8f12ec2dd8be85a0 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sun, 12 Apr 2020 01:14:19 +0300 Subject: [PATCH] Doc update --- DEVELOPMENT.md | 7 +++++++ config/environments/production.rb | 1 + 2 files changed, 8 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 8f38089..12e50e6 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -60,6 +60,13 @@ There are some unresolved issues to setup dev env. 1. You can run tests easier if you setup the stuff on your own computer. 1. Do not commit too much without testing. Also keep commits small for documentation and reversability issues. 1. You need to rebuild the docker image when you change gems. +1. To restart NGINX + + docker-compose exec nginx nginx -s + +1. To restart PUMA + + touch tmp/restart.txt ## Design of ENSL Application diff --git a/config/environments/production.rb b/config/environments/production.rb index f027b7e..4b8f1ba 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -25,6 +25,7 @@ Rails.application.configure do config.assets.digest = true # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # Keep this off, causes weird redirection bug config.force_ssl = false # See everything in the log (default is :info)