remove the
if you copied it from the install instructions from the first page, you need to remove both lines, it is present 2x.
The fix is mentioned on Nexcloud github
I removed the line in the nginx extra options session, and the message was gone, thanks @br41n