Friday, December 9, 2022
HomeWordPress Developmentdocker - Wordpress provides 500 errors solely on particular file endings

docker – WordPress provides 500 errors solely on particular file endings


I run wordpress in a docker container. I mounted /var/www/html on the hostsystem. The trail on the host system is mounted as a cifs share (with autofs).

misc -fstype=cifs,nobrl,credentials=/root/smbcredentials,uid=33,gid=dockermnt,file_mode=0775,dir_mode=077

All site visitors is routed via traefik v2 as reverse proxy.
Every part masses nice besides pictures (png, gif, jpg…).

If I modify the ending to for instance js, the file may be retrieved, however not when the ending is png.

If I transfer the mounted docker quantity to a not mounted path on the hostsystem the whole lot works.

Apache provides 200 return codes on the pictures, traefik 500 errors.

 "GET /wp-includes/pictures/w-logo-blue-white-bg.png HTTP/1.1" 200 4350 "https://****/wp-admin/themes.php" "Mozilla/5.0 (Home windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"

"GET /wp-includes/pictures/w-logo-blue-white-bg.png HTTP/2.0" 500 21 "-" "-" 105 "https-reitverein@docker" "http://192.168.208.10:80" 3ms

Does anyone have an thought what’s the issue right here??

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments