DailyNotes icon indicating copy to clipboard operation
DailyNotes copied to clipboard

notes will not save over ssl-https

Open jenny787 opened this issue 2 years ago • 5 comments

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.

jenny787 avatar Dec 12 '22 02:12 jenny787

Are you using it as a subfolder or a subdomain?

m0ngr31 avatar Dec 12 '22 19:12 m0ngr31

subdomain.

jenny787 avatar Dec 13 '22 00:12 jenny787

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?

jenny787 avatar Dec 17 '22 21:12 jenny787

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

m0ngr31 avatar Jan 03 '23 22:01 m0ngr31

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

x-JR avatar Apr 11 '23 11:04 x-JR