nginx – add charset header (utf-8)
How to add the charset header in nginx to utf-8: nano /etc/nginx/nginx.conf charset utf-8; #or in the vhosts for a single website
Webserver, Datenbanken, Mailserver, Verschlüsselung
How to add the charset header in nginx to utf-8: nano /etc/nginx/nginx.conf charset utf-8; #or in the vhosts for a single website
Icinga2 – failure at monitoring /dev/shm I wanted to monitor /dev/shm but icinga couldn’t get the values. „DISK UNKNOWN – free space:“ After a look in the debuglog i found out that the parameter „-X“ was set to tmpfs. Because shm
pfsense Firewall – traceroute is not working (getting blocked by the firewall) Solution traceroute without a parameter uses UDP to get the hops. I figured out that this traffic is getting blocked because the destination port is not permitted. The port
How to solve the following error: packet_write_wait: Connection to XXX port 22: Broken pipe Solution nano /etc/ssh/ssh_config ServerAliveInterval 120 systemctl restart ssh ServerAliveInterval: Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will
How to hide/remove the X-PHP-Originating-Script header in php: If you sent mail with you own php script all of the email are sent with this header: X-PHP-Originating-Script: 1000:scriptname.php Solution to remove this header: Locate your php.ini If you use the command
Error: nginx: [emerg] invalid parameter „http2“ in /etc/nginx/sites-enabled/mainpage:3 nginx: configuration file /etc/nginx/nginx.conf test failed mattionline:/etc/nginx/sites-available# nginx -v nginx version: nginx/1.6.2 Solution Your nginx version must be at least 1.9.5 for using the http2 feature. Update your nginx version. If you
How to update the zoneminder database manually: After a new zoneminder update my webserver was ready. I host the database server on another virtual machine so i had to update the server manually. First i wanted to copy the zmupdate
Error: gpgkeys: HTTP fetch error 7: couldn’t connect: Connection refused Solution apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys YOURKEYID
gpgkeys: HTTP fetch error 7: Connection refused Weiterlesen »
I am running some rsync scripts and with the ssh key passphrase i have to type in the password about 20-30 times. With this two commands your can save your passphrase and don’t have to enter the password every time.
How to change the disk path manually from a virsh virtual machine: virsh edit monitoring <source file=’/mnt/md0_crypt/Virtualization/VMs/monitoring.qcow2’/>