Problem:
When using the APP behind a reverse proxy, the "http_origin" is different than the original, ex:
Directly: http://tududi:9292
RProxied: https://tududi
So the "Rack::Protection" statement prevents the login.
Example:
log from the docker: WARN -- : session dropped by Rack::Protection::HttpOrigin
Work Arround:
step 1: Script created "patchApp.sh" with content:
#!/bin/bash
sed -i s/Protection/'Protection, except: [:http_origin]'/g /usr/src/app/app.rb
step 2: Add the "command" statement in the compose file:
Other problems:
This allows to login but still prevents to create tasks, projects, etc... with the log:
WARN -- : session dropped by Rack::Protection::HttpOrigin
and I can not find there is the other "Protection" statement.
Problem: When using the APP behind a reverse proxy, the "http_origin" is different than the original, ex: Directly: http://tududi:9292 RProxied: https://tududi So the "Rack::Protection" statement prevents the login.
Example: log from the docker: WARN -- : session dropped by Rack::Protection::HttpOrigin
Work Arround:
step 1: Script created "patchApp.sh" with content:
step 2: Add the "command" statement in the compose file:
Other problems: This allows to login but still prevents to create tasks, projects, etc... with the log:
WARN -- : session dropped by Rack::Protection::HttpOrigin
and I can not find there is the other "Protection" statement.
Thank you for this beautiful app!!!!