Closed o-pteron closed 3 years ago
Also, when downloading uploaded documents I get the the rewrite or internal redirection cycle error:
web_1 | 2021/08/22 06:42:58 [error] 32#32: *147 rewrite or internal redirection cycle while internally redirecting to "/index.php/store/documents/OAck3Cbste8qHJvvKsV7fNEJPV5lrn0eQwsASHbr.jpg", client: 192.168.9.1, server: monica, request: "GET /store/documents/OAck3Cbste8qHJvvKsV7fNEJPV5lrn0eQwsASHbr.jpg HTTP/1.1", host: "m.mydomain.dk"
Hello, I really appreciate your work and I hope you can help with this issue. I think "Photos" and "Documents" in the docker monica:fpm are broken.
Photos:
Photos are "empty":
and I get errors like this:
nginx.conf is not altered:
docker-compose.yml
I've tried running the container behind reverse proxy and local, with and without https, with docker volumes and with binds like above. Nothing works with nginx/fpm - however it works fine with apache instead. I've read that this endless loop can be fixed in nginx.conf, but that the real error resides in the app code(?)
Documents:
Documents works sometimes when uploading, but sometimes it fails saying: "There was an error uploading the document. Please try again below. " I get the same error with apache. Some files just wont upload no matter how many times you try (like "gifs_08 (1).gif") but I cant find a pattern regarding filenames or sizes. Output from the container logs:
I hope you can help me Thank you in advance :)