Chrome Version: Version 90.0.4430.85 (Official Build) (64-bit)
Goto Settings
->Privacy and Security
->Site Settings
->Additional Conent Settings
->PDF Documents
enable Download PDF files instead of automatically opening them in Chrome
include proxy_params;
in Django application's NGINX configuration file.include proxy_params;
line added, remove it./etc/nginx/proxy_params
) file have proxy_set_header Host $http_host;
line already. It will override proxy_set_header Host $host;
For example: if you are going to configure the logrotate to /var/mail/kathirvel file, it will have the permissions like owner=kathirvel, group=mail. We should mention 'su username groupname' to non-root user's file. The configuration will be like below
/var/mail/kathirvel
{
rotate 3
su kathirvel mail
maxsize 1M
missingok
The 'time based'(hourly, daily, weekly, monthly) and 'size' baesd execution frequencies are available in the logrotate.. Logrotate is configurated to run daily default. There is no option to run logrotate like every 5 minutes, 30 minutes. We can configure logrotate to like every 5 minutes, 30 minutes using manualy crontab entry.
/var/log/syslog
{
rotate 3
maxsize 5M
# To create 700MB file
truncate -s 700M filename.txt