m0ngr31 / DailyNotes

App for taking notes and tracking tasks on a daily basis
MIT License
702 stars 43 forks source link

notes will not save over ssl-https #89

Open jenny787 opened 1 year ago

jenny787 commented 1 year ago

WHen I use it on localhost it works fine. WHen I use it with the reverse proxy, things don't save. I made a note initially, and it saved. I went back and added more to it, and I saved it, and it confirmed that I saved. However, upon going back to the note, the modifications were not there and only the initial content was there.

It sounds like something needs to be changed on the reverse proxy, but I see no instructions about it.

I am using dailynotes on docker, and my reverse proxy is swag.

edit: actually it doesn't even save on localhost.

m0ngr31 commented 1 year ago

Are you using it as a subfolder or a subdomain?

jenny787 commented 1 year ago

subdomain.

jenny787 commented 1 year ago

I see that there is a env variable for base url. I tried it but I am not sure the syntax. double quotes yes, but include https or http? not localhost right?

m0ngr31 commented 1 year ago

BASE_URL shouldn't matter for a subdomain. Can I see the nginx config you have setup in Swag?

x-JR commented 1 year ago

I think this may be related to the 'enable autosave' feature. disabling it fixed the issue for me.