WordPress:ShortPixel 外掛 WebP Nginx 設定
網站只要有放圖,用Google Page Speed測試都會出現:提供 NEXT-GEN 格式的圖片。這可透過ShortPixel外掛來處理,但Nginx也需要做些設定,在此記錄下。注意: webp 不一定會比 jpg 小,如果圖本來就壓過很小了,轉無損 webp 可能會變大參考來源:无损 WebP …
網站只要有放圖,用Google Page Speed測試都會出現:提供 NEXT-GEN 格式的圖片。這可透過ShortPixel外掛來處理,但Nginx也需要做些設定,在此記錄下。注意: webp 不一定會比 jpg 小,如果圖本來就壓過很小了,轉無損 webp 可能會變大參考來源:无损 WebP …
一、將使用帳號密碼登入改為以金鑰密碼驗證執行puttygen.exe使用PuTTY Key Generator產生金鑰 $mkdir /home/user/.ssh && vim /home/user/.ssh/authorized_keys將下圖Public key for pas …
查看目前時間 #dateWed May 29 07:39:37 UTC 2019 調整為台北時間 #timedatectl set-timezone Asia/Taipei #date Wed May 29 15:42:34 CST 2019 其他時區可以這樣查看 #timedatectl list …
參考文章來源:如何在centos 7中安装最新版apache server(httpd)服务器示例 因應近期Apache爆漏洞,雖影響範圍是2.4.17~2.4.38,我的是2.4.6 但還是更新下 查看yum repo內的apache版本 安裝yum changelog檢查httpd的更新日誌 安 …
使用Elementor外掛編輯器,修改完存檔會跳 500 Internal Server Error,需不斷嘗試按更新才會成功。為解決問題找到Error Log出現:Allowed memory size of 268435456 bytes exhausted (tried to allocate …
因WordPress 外掛Elementor 存檔跳 500 Internal Server Error,檢查了Nginx的Error Log,連帶發現[warn] a client request body is buffered to a temporary file /var/lib/ngin …
PHP Server Monitor 是一套用來監控服務存活的工具、操作簡單,最近開始支援以Telegram發送通知,十分好用!以下紀錄CenoOS從搭建LNMP到安裝PHP Server Monitor過程 安裝remi套件 啟用php7.3 安裝nginx php-fpm mariadb 及一些 …
參考來源: 自建 samba + ZFS (snhpshot快照/任意還原點)檔案伺服器 安裝(環境CentOS)#yum install http://download.zfsonlinux.org/epel/zfs-release.el7_6.noarch.rpm#yum install zfs …