本文导读目录:
thinkphp(Thinkphp项目在nginx服务器部署
创建??域名.conf??文件,在最后加上???include??vhost/*.conf;第二步:进入vhost文件夹,找到nginx.conf文件????cd?/usr/local/nginx/conf??vim?nginx.conf,本地测试可以使用...或localhost????????server_name项目根目录????????root/home/data-www/blog;????????location/{????????????????#定义首页索引文件的名称????????????????indexindex.phpindex.htmlindex.htm;???????????????#影藏入口文件???????????????if(-f$request_filename/index.html){?????? ??????????????????????rewrite(.*)$/index.htmlbreak;????????????????}????????????????if(-f$request_filename/index.php){????????????????????????????rewrite(.*)$/index.php;????????????????}????????????????if(!-f$request_filename){????????????????????????????rewrite(.*)/index.php;????????????????}????????????????try_files$uri$uri//index.php?$query_string;????????}????????#PHP脚本请求全部转发到FastCGI处理.使用FastCGI协议默认配置.????????#Fastcgi服务器和程序(PHP)沟通的协议????????.location~.*.php${????????????????#设置监听端口????????????????fastcgi_pass...:;????????????????#设置nginx的默认首页文件????????????????fastcgi_indexindex.php;????????????????#设置脚本文件请求的路径????????????????fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;????????????????#引入fastcgi的配置文件????????????????includefastcgi_params;???????????????fastcgi_split_path_info^(.+?.php)(/.*)$;????????????????set$path_info$fastcgi_path_info;????????????????fastcgi_paramPATH_INFO$path_info;????????????????try_files$fastcgi_script_name=;????????}},就需要配置vhost第一步:nginx.conf文件,内容如下:????????server????????{????????????????listen;????????????????server_namequanma.meyat.;????????indexindex.htmlindex.htmindex.phpdefault.htmldefault.htmdefault.php;????????????????root/data/wwwroot/default/quanma/public/;????????????????#error_page/.html;????????????????location/{????????????????????????indexindex.htmlindex.php;????????????????????????if(-f$request_filename/index.html){????????????????????????????????rewrite(.*)$/index.htmlbreak;????????????????????????}????????????????????????if(-f$request_filename/index.php){????????????????????????????????rewrite(.*)$/index.php;????????????????????????}????????????????????????if(!-f$request_filename){????????????????????????????????rewrite(.*)/index.php;????????????????????????}????????????????????????try_files$uri$uri//index.php?$query_string;????????????????}????????????????location~.php(/|$)????????????????{????????????????????????#menttry_files$uri=;toenablepathinfo????????????????????????#try_files$uri=;????????????????????????fastcgi_pass...:;????????????????????????fastcgi_indexindex.php;????????????????????????includefastcgi_params;????????????????????????fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;????????????????????????fastcgi_split_path_info^(.+?.php)(/.*)$;????????????????????????set$path_info$fastcgi_path_info;????????????????????????fastcgi_paramPATH_INFO$path_info;????????????????????????try_files$fastcgi_script_name=;????????????????????????#includefastcgi.conf;????????????????????????#includepathinfo.conf;????????????}????????????location~.*.(gif|jpg|jpeg|png|bmp|swf)$????????????{????????????????????expiresd;????????????}????????????location~.*.(js|css)?$????????????{????????????????????expiresh;????????????}????????????#Disallowaessto.ht,.svn,.bzr,.git,.hg,.cvsdirectories????????????location~/.(ht|svn|bzr|git|hg|cvs){????????????????????denyall;????????????}????????????#aess_log/date/nginx/bmp..conf/aess.logmain;},如果是单项目部署的话,本文目录Thinkphp项目在nginx服务器部署Thinkphp项目在nginx服务器部署。
Thinkphp项目在nginx服务器部署
,切换到nginx的配置目录,找到nginx.conf文件????cd?/usr/local/nginx/conf??vim?nginx.conf,如果是单项目部署的话,只需要在nginx.conf文件里面加上以下server{????????listen;????????#域名,本地测试可以使用...或localhost????????server_name项目根目录????????root/home/data-www/blog;????????location/{????????????????#定义首页索引文件的名称????????????????indexindex.phpindex.htmlindex.htm;???????????????#影藏入口文件???????????????if(-f$request_filename/index.html){????????????????????????????rewrite(.*)$/index.htmlbreak;????????????????}????????????????if(-f$request_filename/index.php){????????????????????????????rewrite(.*)$/index.php;????????????????}????????????????if(!-f$request_filename){????????????????????????????rewrite(.*)/index.php;????????????????}????????????????try_files$uri$uri//index.php?$query_string;????????}????????#PHP脚本请求全部转发到FastCGI处理.使用FastCGI协议默认配置.????????#Fastcgi服务器和程序(PHP)沟通的协议????????.location~.*.php${????????????????#设置监听端口????????????????fastcgi_pass...:;????????????????#设置nginx的默认首页文件????????????????fastcgi_indexindex.php;????????????????#设置脚本文件请求的路径????????????????fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;????????????????#引入fastcgi的配置文件????????????????includefastcgi_params;???????????????fastcgi_split_path_info^(.+?.php)(/.*)$;????????????????set$path_info$fastcgi_path_info;????????????????fastcgi_paramPATH_INFO$path_info;????????????????try_files$fastcgi_script_name=;????????}},如果多项目部署,就需要配置vhost第一步:nginx.conf文件,在最后加上???include??vhost/*.conf;第二步:进入vhost文件夹,创建??域名.conf??文件,如创建一个:quanma.meyat..conf第三步:quanma.meyat..conf文件,内容如下:????????server????????{????????????????listen;????????????????server_namequanma.meyat.;????????indexindex.htmlindex.htmindex.phpdefault.htmldefault.htmdefault.php;????????????????root/data/wwwroot/default/quanma/public/;????????????????#error_page/.html;????????????????location/{????????????????????????indexindex.htmlindex.php;????????????????????????if(-f$request_filename/index.html){????????????????????????????????rewrite(.*)$/index.htmlbreak;????????????????????????}????????????????????????if(-f$request_filename/index.php){????????????????????????????????rewrite(.*)$/index.php;????????????????????????}????????????????????????if(!-f$request_filename){????????????????????????????????rewrite(.*)/index.php;????????????????????????}????????????????????????try_files$uri$uri//index.php?$query_string;????????????????}????????????????location~.php(/|$)????????????????{????????????????????????#menttry_files$uri=;toenablepathinfo????????????????????????#try_files$uri=;????????????????????????fastcgi_pass...:;????????????????????????fastcgi_indexindex.php;????????????????????????includefastcgi_params;????????????????????????fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;????????????????????????fastcgi_split_path_info^(.+?.php)(/.*)$;????????????????????????set$path_info$fastcgi_path_info;????????????????????????fastcgi_paramPATH_INFO$path_info;????????????????????????try_files$fastcgi_script_name=;????????????????????????#includefastc gi.conf;????????????????????????#includepathinfo.conf;????????????}????????????location~.*.(gif|jpg|jpeg|png|bmp|swf)$????????????{????????????????????expiresd;????????????}????????????location~.*.(js|css)?$????????????{????????????????????expiresh;????????????}????????????#Disallowaessto.ht,.svn,.bzr,.git,.hg,.cvsdirectories????????????location~/.(ht|svn|bzr|git|hg|cvs){????????????????????denyall;????????????}???????????2024年12月三星 i9001(红米5)?#aess_log/date/nginx/bmp..conf/aess.logmain;}
红米5空调风扇原理(夏新无叶空调扇制冷采用的是什么原理
夏新无叶空调扇制冷采用的是什么原理
空调扇的工作原理就是一个装有水冷(冰)装置的电风扇。单相罩极异步电动机或单相永磁同步电动机带动水帘布上下缓慢移动翻滚,由单相电容运转电动机驱动风扇把水帘布周围有一定湿度的冷风空气吹出。因有一定湿度,还有净化空气的作用。另外一种是在空调扇里面安装有一个水泵,其中水泵能使空气在水循环中被冷却,吹出低于室温的冷风。空调扇的制冷没有压缩机,不用氟利昂,靠内置的水泵让水在机内不断循环,并将周围的空气冷却。无论哪种型号的空调扇,其实制冷效果都是一样的。空调扇的工作原理之水蒸发—根据水蒸发方式的不同,有种产品:湿网布电动循环:当空气吹过时,水蒸发,水蒸发的同时,要吸收大量的热,空气温度就下降了,但空气的湿度却升高了,夏天空气湿度本来就高,很可能引起汗水也无法蒸发2024年12月三星 i9001(红米5)。特制纤维湿帘纸蒸发器:蒸发器也是一种间壁式热交换设备。低温低压的液态制冷剂在传热壁的一侧气化吸热,从而使传热壁另一侧的介质被冷却。被冷却的介质通常是水或空气。
空调和风扇的降温原理都是什么
红米5word文档怎么做小抄用word文档做小抄方法
相信很多人都有在考试时做小抄的经历,特别是大学生,大多数人小抄都是在打字社让打印的人给排一下版直接打出来的,下面我就说一下我做小抄的方法,希望对大家有用,不过大家考试也不能完全依赖小抄。
以word为例,word方法一样2024年12月三星 i9001(红米5)。
打开要做成小抄的资料。
三星 i9001的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于红米5、三星 i9001的信息别忘了在本站进行查找喔。