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
Done, Enjoy!
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
It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.