Server software

block wordpress file uploaded php file rum
addbelowcodetonginx.conffile.#blockuploadphpfileslocation~*/(?:uploads|files|wp-content|wp-includes)/.*.php${denyall;access_logoff;log_not_foundoff;}
nginx proxy google blogger
server{listen80;server_namessx8.com;gzipoff;location/{#proxy_passhttps://www.ssx8.com;rewrite^/(.*)$https://www.ssx8.com/$1permanent;}}server{listen443ssl;server_namess……
Tutorial: Install a LAMP Web Server on Amazon Linux
Tutorial:InstallaLAMPWebServeronAmazonLinux2PDFKindleRSSThefollowingprocedureshelpyouinstallanApachewebserverwithPHPandMariaDB(acommunity-developedforkofMySQL)supporton……
WordPress使用宝塔面板开启Nginx fastcgi_cache缓存加速
很早之前,技术宅就折腾过Nginx开启fastcgi_cache缓存加速,这能使WordPress实现静态页面访问!更多大家可以参考《关于Nginx开启fastcgi_cache缓存加速的一些小优化》,但是之前技……
利用Nginx实现Varnish支持SSL访问
利用Nginx实现Varnish支持SSL访问之前博客其实是以Varnish=>Nginx=>PHP(FPM-FCGI)来访问的,但Varnish不支持SSL,也就是说无法使用https。好蛋疼。。。所以耍点小聪明,以Ngi……
Nginx指定IP无须通过认证-其他IP密码访问
为了保证网站的安全性,我们一般都限制IP访问,但是这种方法又不灵活,使用×××又太复杂,那么可以通过再增加一道认证来提升安全性。需求:指定IP直接访问,否则增加二次认证server{l……
how to install  nginx with fast-cgi module and php 7.2 and maria db 10.3?
#installnginxwithfast-cgimoduleandphp7.2andmariadb10.3#downloadthisscript#https://www.hss5.com/media/script/installlnmp.sh.txt#cat/usr/local/src/installlnmp.shyum-yupda……
using simply static and wp rocket together to boost your website speed
#https://www.hss5.com/2019/10/16/wp-super-cache-and-nginx-config/#https://www.hss5.com/2019/09/06/wp-rocket%E9%85%8D%E5%90%88nginx%E5%AE%9E%E7%8E%B0%E7%BA%AF%E9%9D%99%E……
how to config multi domain wordpress with nginx
#vi/etc/nginx/conf.d/wordpress-multi.confserver{listen*:80;listen[::]:80;server_name9wp.netyourwebsite.com;return301http://www.$host$request_uri;}server{listen*:80;list……
OpenLiteSpeed and php7.x setup on centos
OpenLiteSpeed是LiteSpeedTechnologies开发的开源HTTP服务器。OpenLiteSpeed具有高性能和轻量级的特点,并带有一个WebGUI管理界面,可以处理超过十万个具有低资源使用(CPU和RAM)……
Install: Quick Install Magento 2 on litespeed
Install:QuickInstallMagento2AfteryouinstallOpenLiteSpeed,followtheinstructionsbelowtogetyourMagento2siteworking.YouMUSTenableRewritesand“AutoLoadfrom.htaccess”also.Mage……
google blogger nginx proxy
location/{proxy_passhttp://ghs.google.com;proxy_set_headerHostw.mai1.me;proxy_redirectoff;proxy_set_headerX-Real-IP$remote_addr;proxy_set_headerX-Forwarded-For$proxy_ad……
WP Super cache and nginx config
WPSupercacheeasyengine(ee)note:Ifyouareusingeasyengine,youcanaccomplisheverythinginthisarticleusingfollowingcommands:eesitecreateexample.com--wpscAssumption:Youalreadyi……
wp-rocket配合nginx实现纯静态化加速wordpress,Rocket-Nginx
WPRocket缓存插件是当前最高效也是最灵活的WordPress静态缓存插件。WPRocket在性能方面集成了所有最新功能:延迟图像加载,延迟加载javascipt,缩小html代码体积,连接和所辖javasc……
how to add an image CDN server for prestashop 1.7 in nginx
server{large_client_header_buffers432k;listen80;root/var/www/html;server_namecdn.jhhearingaids.com;indexindex.phpindex.html;rewrite^/api/?(.*)$/webservice/dispatcher.ph……
ADDING WEBP SUPPORT FOR NGINX
ThisisaveryshortsnippetpostsoyouneedtohaveknowledgeabouthowtoconfigureandcustomizeyourNGiNXsetupsincethisisaquickmashupoftheconfigrequired.InstallWebP.sudoapt-getinstal……
How to install latest version of OpenSSL on CentOS?
Hithere,todayIwouldliketoshowyouhowtoinstalllatestversionofOpenSSL(1.1.1c)onCentOS7DoIneedlatestversionofOpenSSL?Ingeneral-youdon't.Defaultversionisdoinggreatjobandit's……
nginx 301 redirect to www and https
nginx301redirecttowwwandhttpswebsite:http://www.cl-light.com->https://www.cl-light.com{http://cl-light.com+https://cl-light.com}->https://www.cl-light.comserver{listen8……
Nginx通过二级目录(路径)映射不同的反向代理,规避IP+端口访问
①、同一个域名需要反向代理到前台和后台(不同机器和端口);②、需要采用IP+端口的模式,嵌入到APP作为DNS污染后的备选方案。server{listen80;server_namedemo.domain.com;#通过访……
nginx 作反向代理 隐藏服务器真实IP
Nginx是一个小而精悍的Web服务器,在Apache一统天下的时候,依然可以占据非常可观的市场份额。过去大家对于Nginx的主要看法在于其省资源(特别是内存)以及对静态文件的强大处理,……
1 2 3 4