Force nginx to send specific Content-Type

In case you have no file extension:

location ~ something {
   default_type application/xml;
}

Nginx docs for default_type

In case you are setting up let’s encrypt certificate with a client which creates http server: How to use golang lego let’s encrypt client behind nginx?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)