Very simple, first open header config file via below command
sudo nano /etc/nginx/common/headers-html.conf
and add header like this example.
add_header Cache-Control "max-age=300";
Now check nginx error.
sudo nginx -t
and restart nginx.
sudo systemctl reload nginx
Please, read the documentation!
Webinoly has a configuration file, other way your custom configuration will be lost or corrupted after some updates.
PayPal · GitHub Sponsors · Bitcoin