swag error log fix

Unraid swag docker has this error log

nginx: [emerg] “stream” directive is not allowed here in /etc/nginx/conf.d/stream.conf:3

how to fix this?

open the console for the docker and run :

mv -v /etc/nginx/conf.d/stream.conf /etc/nginx/stream.d/

Restart the docker.