How to enable nginx response http header utf-8 for static website
I have selected "Static" Build Type and the issue is that the response headers don't include utf-8.
I know I can probably create my own dockerfile to do this, but is there no way to just mount the
/etc/nginx/conf.d/default.conf
file of the static deployment in the advanced tab?3 Replies
Ah, nevermind got it:
Advanced > Volumes > Add Volume > File Mount

It didn't work before, because I thought the "File Path" field with the tooltip "File Name" will automatically get appended to the "Mount Path (in the container)" so I only had
/etc/nginx/conf.d/
in there.