nginx · Apr 15, 2021 How to Configure nginx Reverse Proxy WordPress Cache for Apache Apache is not known for its speed. On the contrary, Apache has garnered a reputation for being rather bloated and performing well under high traffic. However,…
nginx · Apr 7, 2021 how to setup nginx proxy cache ? add in http {} proxy_cache_path D:/nginx-1.18.0/cache levels=1:2 keys_zone=cache_one:500m inactive=1d max_size=30g; proxy_cache_key "$host$request_uri$cookie_user"; server {} config server { listen 80; server_name shopaii.net www.shopaii.net; proxy_redirect off; server_name_in_redirect off;…
nginx · Mar 18, 2021 opencart 3 nginx rewrite conf nginx rewrite rule on nginx #disallow path or file location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md) { return 404; } #一键申请SSL证书验证目录相关设置 location ~ \.well-known{ allow all; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$…
Centos · Nov 25, 2020 Keep Your SSH Session Running when You Disconnect Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them. It also…
nginx · Nov 15, 2020 nginx pagespeed config # Enable pagespeed module by putting the following in http context pagespeed on; pagespeed Domain example.com; pagespeed DownstreamCachePurgeLocationPrefix http://lb1.i; pagespeed DownstreamCachePurgeMethod PURGE; pagespeed DownstreamCacheRewrittenPercentageThreshold 95; #…
Centos · Nov 13, 2020 centos push jekyll to github cd /www/wwwroot/hearing-aids.com.cn git config --system user.name "audisound" git config --system user.email "[email protected]" git remote rm origin git init git remote add origin [email protected]:audisound/hearing-aids.com.cn.git git fetch origin…
nginx · Jul 25, 2020 NGINX: Image Server with image_filter & secure_link modules https://zaiste.net/posts/nginx-image-server-image-filter-secure-link-modules/ NGINX with enabled image_filter and secure_links modules allows to quickly build an image server. The server can resize and cache images. It acts as a reverse-proxy between the external…
nginx · Jul 25, 2020 nginx image-proxy server conf Feel free to change this path of course (and keys_zone value as well, but also change the usage of it below). proxy_cache_path /var/www/cache/resized levels=1:2 keys_zone=resizedimages:10m max_size=1G;…
nginx · Jun 19, 2020 block wordpress file uploaded php file rum add below code to nginx .conf file. # block upload php files location ~* /(?:uploads|files|wp-content|wp-includes)/.*.php$ { deny all; access_log off; log_not_found off; }
nginx · Jun 16, 2020 nginx proxy google blogger server { listen 80; server_name ssx8.com; gzip off; location / { proxy_pass https://www.ssx8.com; rewrite ^/(.*)$ https://www.ssx8.com/$1 permanent; } } server { listen 443 ssl; server_name ssx8.com…
nginx · Jun 4, 2020 Tutorial: Install a LAMP Web Server on Amazon Linux Tutorial: Install a LAMP Web Server on Amazon Linux 2 PDF Kindle RSS The following procedures help you install an Apache web server with PHP and MariaDB (a…
Centos · Jun 1, 2020 Solved:Could not resolve host: mirrors.iuscommunity.org Solved:Could not resolve host: mirrors.iuscommunity.org Quote Post by henk » 29 Jan 2020 13:02 Yum update had an issue with the IUS mirror list. ( eFa4 kickstart on Centos7 minimal…