nginx.conf

user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 10s; types_hash_max_size 2048; server_tokens off; server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # SSL Settings ## ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # … Read more

Nam Huy website is coming back

Nam Huy website is coming back after had been offline for many months due to my mistake on database backup method. Rather running mysqldump command to backup database, I had cronjob backing up the whole mysql’s databases directory. After I upgraded mysql server version and reinstalled mysql server a few times, I could not make … Read more