码迷,mamicode.com
首页 >  
搜索关键字:server_name    ( 674个结果
Nginx Server 上80,443端口。http,https共存
server{ listen 80; listen 443 ssl; server_name www.iamle.com; index index.html index.htm index.php; root /home/wwwroot/www.iamle.com/; #ssl on; 这里要注释掉 ...
分类:Web程序   时间:2018-02-24 13:17:06    阅读次数:504
laravel 上线部署最佳实践
nginx 配置 listen 80 default_server; server_name xxxx; index index.php index.html; 优先 index.php root /home/wwwroot/xxx/public/; add_header X-Frame-Optio ...
分类:其他好文   时间:2018-02-13 17:50:10    阅读次数:212
ubuntu配置https
# 重定向 http 到 https server { listen 80; server_name www.domain.com; rewrite ^(.*)$ https://$server_name$1 permanent; } server { listen 443; server_name... ...
分类:Web程序   时间:2018-02-10 23:24:53    阅读次数:254
Sql Server中的游标最好只能用于有主键或唯一键的表
游标cursor,我想大多数人都在sql server里面用过。当一个表数据量不太大的时候,游标还是可以用的,毕竟游标是循环一个表中每一行数据的最简便办法。但是如果你用一个游标去循环一个没有主键或唯一键的表会发生什么呢? 我们来看看这个例子,我们声明了一个临时表#Foo并插入了一行数据,这个表没有主 ...
分类:数据库   时间:2018-02-06 12:56:29    阅读次数:180
[ssl:warn] [pid 6380:tid 148] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
使用apache自带的工具ab进行压力测试的时候,进入apache/bin文件夹,按住“shift”+鼠标右键,在cmd中输入ab -c 100, -n 100 http://127.0.0.1/ 返回信息为: 在cmd中输入ab -c 1000, -n 1000 http://127.0.0.1/ ...
分类:其他好文   时间:2018-02-05 23:21:32    阅读次数:3751
ci重写 配置文件
server { listen 80; #listen [::]:80; server_name wangyongshun.xyz www.wangyongshun.xyz; index index.html index.htm index.php default.html default.htm ... ...
分类:其他好文   时间:2018-02-02 21:59:00    阅读次数:157
windows下nginx的安装及使用方法入门
nginx功能之一可以启动一个本地服务器,通过配置server_name和root目录等来访问目标文件 一. 下载 http://nginx.org/ 下载后解压 二. 修改配置文件 nginx配置文件在 nginx-1.8.0\conf\nginx.conf http { gzip on; #静态 ...
分类:Windows程序   时间:2018-02-01 00:23:17    阅读次数:227
php 获取域名
echo 'SERVER_NAME:'.$_SERVER['SERVER_NAME']; //获取当前域名(不含端口号) echo '<p>'; echo 'HTTP_HOST:'.$_SERVER['HTTP_HOST'];//获取当前域名 (含端口号) echo '<p>'; echo 'REQ ...
分类:Web程序   时间:2018-01-29 15:34:54    阅读次数:199
Nginx
启动命令:/usr/nginx/sbin/nginx 如果已经启动的话,直接/usr/nginx/sbin/nginx -s reload server { listen 80; server_name www.xxx.com; location / { proxy_pass http://loca ...
分类:其他好文   时间:2018-01-27 21:16:19    阅读次数:151
vue
``` server { # List port listen 8896; server_name wychao.com; location / { root /Users/wyc/data/mygit/vueAdmin-template/dist/; index index.h... ...
分类:其他好文   时间:2018-01-25 20:45:27    阅读次数:148
674条   上一页 1 ... 27 28 29 30 31 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!