Closed NiklasBr closed 1 year ago
No errors or warnings from Nginx when starting up. Can you reproduce this issue?
With Nginx 1.24 we get the following warning on starting the container:
2023-07-25 10:38:43 nginx: [warn] duplicate extension "avif", content type: "image/avif", previous content type: "image/avif" in /etc/nginx/conf.d/default.conf:5 2023-07-25 10:38:43 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2023-07-25 10:38:43 nginx: configuration file /etc/nginx/nginx.conf test is successful
The content type appears to already be defined in newer versions on Nginx, see:
These lines may not be required.
https://github.com/pimcore/skeleton/blob/31a0daef0c3d996b677d8bd51f77fe3ef5030f2d/.docker/nginx.conf#L2-L6
Fixed by 5377528a16bc3050a98f7d607b28a3dd2324fcb4
Expected behavior
No errors or warnings from Nginx when starting up. Can you reproduce this issue?
Actual behavior
With Nginx 1.24 we get the following warning on starting the container:
The content type appears to already be defined in newer versions on Nginx, see:
Steps to reproduce
These lines may not be required.
https://github.com/pimcore/skeleton/blob/31a0daef0c3d996b677d8bd51f77fe3ef5030f2d/.docker/nginx.conf#L2-L6