DokployD
Dokploy17mo ago
3 replies
deck0405

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.

HTTP/2 200 
accept-ranges: bytes
content-type: text/html
date: Fri, 13 Sep 2024 08:51:39 GMT
etag: "66e303f3-259f"
last-modified: Thu, 12 Sep 2024 15:08:35 GMT
server: nginx/1.27.1
content-length: 9631
X-Firefox-Spdy: h2


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?
Was this page helpful?