HTTPD Config change

Cephas

Verified User
Joined
Jun 18, 2021
Messages
15
Hi there,
I'm trying to add:
Code:
map $http_accept $webp_suffix {
    default "";
    "~*webp" ".webp";
}
in between the http {} lines.
Where can I customize this?

Kind regards,
Roel
 
from admin level "custom httpd" then for selected domain you will see 4 custom fields - all they described where to appear, I don't remember but maybe in custom2 section
 
from admin level "custom httpd" then for selected domain you will see 4 custom fields - all they described where to appear, I don't remember but maybe in custom2 section
I've tried this, but in all 4 customs it gives me an error except in custom 1. However the problem is that its not in between HTTP {} tags when I add it here.
 
maybe put it into /etc/nginx/nginx-include.conf
then confirm config not break anything
nginx -t
and restart nginx
service nginx restart
 
Back
Top