BaldissaraMatheus / Tasks.md

A self-hosted, Markdown file based task management board
https://hub.docker.com/r/baldissaramatheus/tasks.md
MIT License
737 stars 30 forks source link

It doesn't works fine under cloudflared #12

Closed edersong closed 1 year ago

edersong commented 1 year ago

Locally, it works fine, but behind cloudflared it's not showing correctly

boomam commented 1 year ago

What is the error you see @edersong - to note, I am not the developer of this project but I am familiar with cloudflared, so may be able to help.
 
I would recommend however, that as this app does not have any login prompt or auth, to make sure you are putting something infront of it to help protect it, should you decide you need outside access via that method.
Authelia is great for that particular purpose.

edersong commented 1 year ago

Thank you for the feedback, @BaldissaraMatheus Found that its failing the same way locally. See below:

2023-03-15 143000.png

boomam commented 1 year ago

What are your various CF settings?

Tunnel

Dashboard->Zero Trust->Access->Tunnels->(click tunnel name)->Configure->Public Hostname->(Click hostname)->Configure->Additional application settings.

SSL/TLS

Dashboard->DNS->SSL/TLS->Overview

'Speed'

Dashboard->DNS->Speed->Optimization

Caching

Dashboard->DNS->Caching->Configuration

BaldissaraMatheus commented 1 year ago

@edersong the picture you attached is running locally or under a cloudflare proxy? It looks like it's failling to fetch the css files and I think it may be related to #15

When you run the container without passing a BASE_PATH variable, does it work?

edersong commented 1 year ago

It's local. I will check and report further.

boomam commented 1 year ago

I just did a quick test my end, can confirm it works through a CF Tunnel fine. :-)

edersong commented 1 year ago

Hello, For me, without BASE_PATH variable, works locally, but not thru CF tunnel

BaldissaraMatheus commented 1 year ago

Hey @edersong, sorry for taking to long for looking at this issue. Are you running it through Docker? Could you please share your docker file? I just tried running a tunnel both with a subpath and without it and it worked just fine

BaldissaraMatheus commented 1 year ago

I'll close this issue for now since it seems to be caused by an incorrect setup, but if someone experience the same issue feel free to open it up again.