Closed matthiasschaub closed 1 year ago
Seem the script failed to detect https protocol, it does not check any X-Forwarded-xx headers. As a quick workaround try to set the url with https to be used by the script internally. In db/config.php set full path to mytinytodo folder with slash in the end like this:
$config['mtt_url'] = 'https://todo.tld/';
or
$config['mtt_url'] = 'https://todo.domain.tld/mytinytodo/';
@maxpozdeev thanks for the quick response.
Changing $config['mtt_url'] = 'https://todo.tld/';
to the root URL resolved the issue.
First thanks for this tiny todo service. It is exactly what I am looking for! :)
I run mytinytodo in a Docker container behind a reverse proxy (
haproxy
).haproxy
automaticly redirects all incomming connections to https:When I now open mytinytodo with chromium the javascripts and css files are requested by mytinytodo using HTTP not HTTPS and chromium blocks those requests. See this screenshot:
I am not sure where to look for a solution to this. Should this be a change in the code or do I need to change something on the deployment side?
I would be happy about any help!