Skip to main content
  • 博客
    • div+css 博客
    • javascript 博客
      • vue 博客
    • php 博客
      • 微信 博客
  • php
    • drupal
    • composer
    • thinkphp
    • onethink
    • laravel
    • Swoole
    • dedecms
    • magento
    • smarty
    • ecshop
    • zencart
    • joomla
    • discuz
    • wordpress
    • yii
    • 微信
    • 抖音
    • ci
    • weiphp
    • destoon
  • python
    • plone
  • apache
  • nginx
  • cache
    • memcache
    • redis
  • div+css
  • javascript
    • jquery
    • typescript
    • Vue.js
    • Amaze
    • zepto
    • react
    • underscore
    • backbone
    • angular
    • lodash
    • layui
    • js特效
  • vbscript
  • photoshop ai
  • sql
    • mysql
    • mssql
    • oracle
  • regular
  • node.js
  • 腾讯开放平台
  • dreamweaver
  • linux
  • seo
  • app
  • asp及asp.net
  • flash
  • iis
  • java
  • mac
  • wap
  • windows
    • dos
    • 打印机
  • 其它
  • 浏览器
  • 网络
  • AD域 (exchange)
  • 虚拟机
  • AC
  • ai
  • 简写翻译

欢迎各位兄弟 发布技术文章

这里的技术是共享的

个人技术网_前端_后台_php_div_css_linux_javascript_seo 个人技术网_前端_后台_php_div_css_linux_javascript_seo

搜索表单

用户登录

  • 重设密码

You are here

首页

nginx

Where can I find the error logs of nginx, using fastcgi and django 日志 位置

星期五, 2018-02-02 18:21 — adminshiping1

普通分类: 
nginx
  • Read more about Where can I find the error logs of nginx, using fastcgi and django 日志 位置

nginx 基本配置与参数说明 有大用

星期五, 2018-02-02 18:12 — adminshiping1
普通分类: 
nginx
  • Read more about nginx 基本配置与参数说明 有大用

nginx log format log_format logformat domain name 域名 有大用

星期五, 2018-02-02 17:53 — adminshiping1

We use following nginx site configure file in our production env.

普通分类: 
nginx
  • Read more about nginx log format log_format logformat domain name 域名 有大用

自己改写的 nginx.conf 下的 log_format LogFormat 日志 access.log 有大用

星期五, 2018-02-02 17:47 — adminshiping1

nginx.conf 下的部分内容 见红色部分是配置 access.log 的


http {

    include       mime.types;

    default_type  application/octet-stream;


    server_names_hash_bucket_size 128;

    client_header_buffer_size 32k;

    large_client_header_buffers 4 32k;

    client_max_body_size 256m;

    limit_conn_zone $binary_remote_addr zone=one:32k;


    sendfile        on;

    tcp_nopush     on;


    keepalive_timeout  60;

    tcp_nodelay on;


    gzip  on;

普通分类: 
nginx
  • Read more about 自己改写的 nginx.conf 下的 log_format LogFormat 日志 access.log 有大用

什么是默认的 web 访问日志 有大用

星期五, 2018-02-02 17:41 — adminshiping1
普通分类: 
nginx
  • Read more about 什么是默认的 web 访问日志 有大用

502 bad gateway nginx 怎么解决 有大用

星期五, 2018-02-02 17:38 — adminshiping1

在访问服务网站的时候经常遇到502的情况,怎么去跟踪检查该问题,解决该问题呢。

普通分类: 
nginx
  • Read more about 502 bad gateway nginx 怎么解决 有大用

504 gateway time-out nginx nginx apache How to Fix 504 Gateway Timeout using Nginx (502 bad gateway 好像也这样处理) 自己亲自做的 有大用 有大大用 有大大大用

星期三, 2017-12-20 05:37 — adminshiping1

普通分类: 
nginx
  • Read more about 504 gateway time-out nginx nginx apache How to Fix 504 Gateway Timeout using Nginx (502 bad gateway 好像也这样处理) 自己亲自做的 有大用 有大大用 有大大大用

504 gateway time-out nginx nginx apache 504 Gateway Time-Out after publishing on a Nginx-Apache-WordPress platform

星期三, 2017-12-20 05:12 — adminshiping1
普通分类: 
nginx
  • Read more about 504 gateway time-out nginx nginx apache 504 Gateway Time-Out after publishing on a Nginx-Apache-WordPress platform

Nginx:504 Gateway Time-out解决

星期三, 2017-12-20 05:02 — adminshiping1

如果你使用Nginx web server,你可能在访问你网站的时候出现了504 Gateway Time-out错误,这个错误代码很常见,这可能是因为超过了PHP的最大执行时间的限制或者是FastCGI读超时。

普通分类: 
nginx
  • Read more about Nginx:504 Gateway Time-out解决

nginx 504 Gateway Time-out 解决办法 有大用

星期四, 2017-12-14 16:55 — adminshiping1

今天用PHP执行一个非常耗时的文件【ps:自己有用,大概3分钟】

但是执行到一分钟后显示

普通分类: 
nginx
  • Read more about nginx 504 Gateway Time-out 解决办法 有大用

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决 有大用

星期二, 2017-11-28 07:37 — adminshiping1

今天在做LNMP的时候,启动nginx服务,无法开启,导致网页打不开。把服务重起一下发现提示错误如下:

普通分类: 
nginx
  • Read more about nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决 有大用

解决Nginx 504 Gateway Time-out的一些方法

星期一, 2017-11-13 01:36 — adminshiping1
在CentOS下配置lnmp组合基本上用的都是同样的配置文件,一直都没出现过问题,可最近在一个vps上安装同样的环境之后,网站在线10多人就出 现了打开速度非常缓慢的情况,有好几次都是直接
普通分类: 
nginx
  • Read more about 解决Nginx 504 Gateway Time-out的一些方法

完美解決Nginx 504 Gateway time-out问题

星期一, 2017-11-13 01:34 — adminshiping1
最近用dedecms建的一个网站新增了大批内容,有三个栏目的内容量都超过了两千篇,超过两千三百篇的两个栏目在生成栏目列表的时候就出现了504 Gateway time-out 服务器用的是nginx,我不是很懂,服务器维护人员在网上随便找了一篇文章,修改了nginx的缓存设置,不管用,他就不管了,可是我不能不管啊,不能生成列表页面,那后面的内容不是都不能用了麽?

  把数据库下载到本地,在本地配置了nginx,试了很多遍,都不行,又改到Apache下面,更夸张,生成了83个页面就不能继续了,看来还是nginx更厉害一点,虽然出现504 Gatewa

普通分类: 
nginx
  • Read more about 完美解決Nginx 504 Gateway time-out问题

完美解決Nginx 504 Gateway time-out问题

星期一, 2017-11-13 01:20 — adminshiping1
最近用dedecms建的一个网站新增了大批内容,有三个栏目的内容量都超过了两千篇,超过两千三百篇的两个栏目在生成栏目列表的时候就出现了504 Gateway time-out 服务器用的是nginx,我不是很懂,服务器维护人员在网上随便找了一篇文章,修改了nginx的缓存设置,不管用,他就不管了,可是我不能不管啊,不能生成列表页面,那后面的内容不是都不能用了麽?

  把数据库下载到本地,在本地配置了nginx,试了很多遍,都不行,又改到Apache下面,更夸张,生成了83个页面就不能继续了,看来还是nginx更厉害一点,虽然出现504 Gatewa

普通分类: 
nginx
  • Read more about 完美解決Nginx 504 Gateway time-out问题

nginx 504 Gateway Time-out 解决办法

星期一, 2017-11-13 01:04 — adminshiping1
今天用PHP执行一个非常耗时的文件【ps:自己有用,大概3分钟】

但是执行到一分钟后显示

普通分类: 
nginx
  • Read more about nginx 504 Gateway Time-out 解决办法

Nginx与Apache哪个性能好?哪个性能更好运行更快

星期日, 2017-11-05 13:31 — adminshiping1
Nginx的性能要比Apache高很多,这得益于Nginx使用了最新的epoll(Linux 2.6内核)和kqueue(freebsd)网络I/O模型,而Apache则使用的是传统的select模型。

目前Linux下能够承受高并发访问的Squid、Memcached都采用的是epoll网络I/O模型。

处理大量的连接的读写,Apache所采用的select网络I/O模型非常低效。

Nginx与Apache哪个性能好?哪个性能更好运行更快(图1)

下面用一个比喻来解析Apache采用的select模型和Nginx采用的epoll模型进行之间的区别:

假设你在大学读书,住的宿舍楼有很多间房间,你的朋友要来找你。

select版宿管大妈就会带着你的朋友挨个房间去找,直到找到你为止。

而epoll版宿管大妈会先记下每位同学的房间号,

普通分类: 
nginx
  • Read more about Nginx与Apache哪个性能好?哪个性能更好运行更快

Nginx 和 Apache 各有什么优缺点?

星期日, 2017-11-05 13:26 — adminshiping1

普通分类: 
nginx
  • Read more about Nginx 和 Apache 各有什么优缺点?

西部数码 nginx 在 wdcp3.2 下自动配置 ssl https 有大用 有大大用 有大大大用

星期一, 2017-10-16 00:19 — adminshiping1

1)防火墙通过 443 端口 
2)wdCP v3.2.5 好像不行 我这里升级到 wdCP v3.2.13 
3)见 /node-admin/10453  1.wdcp v3.2(linux+apache+nginx)进行设置
4)重启 nginx 吧

应该就好了

普通分类: 
nginx
  • Read more about 西部数码 nginx 在 wdcp3.2 下自动配置 ssl https 有大用 有大大用 有大大大用

一个 ok 的 nginx 的 虚拟主机配置 这里 是 http 自动跳转 https 有大用 有大大用 有大大大用

星期一, 2017-10-16 00:14 — adminshiping1

server {

普通分类: 
nginx
  • Read more about 一个 ok 的 nginx 的 虚拟主机配置 这里 是 http 自动跳转 https 有大用 有大大用 有大大大用

百度 "wdcp 3.2 nginx https" 有大用

星期日, 2017-10-15 23:58 — adminshiping1
普通分类: 
nginx
  • Read more about 百度 "wdcp 3.2 nginx https" 有大用

nginx https配置后无法访问,可能防火墙在捣鬼

星期日, 2017-10-15 22:44 — adminshiping1
同事发现nginx配置后https 无法访问,我帮忙解决的时候从以下出发点
普通分类: 
nginx
  • Read more about nginx https配置后无法访问,可能防火墙在捣鬼

西部数码 linux系统SSL证书部署https单/多站点 有大用 有大大用 有大大大用

星期日, 2017-10-15 22:13 — adminshiping1

以下教程为linux系统申请SSL证书,部署单/多站点https方法。

普通分类: 
nginx
  • Read more about 西部数码 linux系统SSL证书部署https单/多站点 有大用 有大大用 有大大大用

如何找出nginx配置文件的所在位置 有大用

星期日, 2017-10-15 21:14 — adminshiping1
有时候在操作一台陌生的nginx服务器的时候,需要知道配置文件在哪里,下面教大家一种简单的方法:
  1. 先找出nginx可执行文件的路径 
普通分类: 
nginx
  • Read more about 如何找出nginx配置文件的所在位置 有大用

正向代理和反向代理

星期六, 2017-10-14 23:34 — adminshiping1
普通分类: 
nginx
  • Read more about 正向代理和反向代理

正向代理与反向代理的区别【Nginx读书笔记】

星期六, 2017-10-14 23:31 — adminshiping1

正向代理的概念

正向代理,也就是传说中的代理,他的工作原理就像一个跳板,
简单的说,

普通分类: 
nginx
  • Read more about 正向代理与反向代理的区别【Nginx读书笔记】

宁皓网 在互联网访问本地开发环境 有大用

星期六, 2017-10-14 21:23 — adminshiping1

在互联网上可以直接访问到本地开发环境上搭建的服务,在调试一些外部服务接口的时候经常会用到这个功能。
来自 
https://ninghao.net/course/5163#info

普通分类: 
nginx
  • Read more about 宁皓网 在互联网访问本地开发环境 有大用

nginx添加ssl 之 添加本地证书

星期六, 2017-03-11 17:08 — adminshiping1
说明:

只是为了本地测试nginx添加ssl功能,因此就本地生成了密钥,证书,但这样证书是不被信任的。
具体效果见下图:

普通分类: 
nginx
  • Read more about nginx添加ssl 之 添加本地证书

宁皓网 HTTPS 与 HTTP2

星期六, 2017-03-11 15:34 — adminshiping1
申请 SSL 证书,让网站支持 HTTPS 加密。手工编译 NGINX ,让网站支持 HTTP2 。
普通分类: 
nginx
  • Read more about 宁皓网 HTTPS 与 HTTP2

nginx 如何设置我的伪静态(linux篇)

星期四, 2017-03-02 09:48 — adminshiping1
1、云虚拟主机购买成功后,就会获取到FTP账号密码,输入下面的登陆框,即可进入面板管理。 面板地址为:http://host.22.cn




2、进入主面板,如下图:




3、自定义伪静态
普通分类: 
nginx
  • Read more about nginx 如何设置我的伪静态(linux篇)

将Apache .htaccess重写规则的Nginx的重写规则 转换 有大用

星期四, 2017-03-02 09:27 — adminshiping1

将Apache .htaccess重写规则的Nginx的重写规则自动

注意事项:本人多次测试有效!


.htaccess content

请把你的.htaccess内容(重写规则)点击“转换”按钮。不要忘记清除标签和任何其他缩进!
普通分类: 
nginx
  • Read more about 将Apache .htaccess重写规则的Nginx的重写规则 转换 有大用

页面

  • « 第一页
  • ‹ 前一页
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 下一页 ›
  • 末页 »
Subscribe to RSS - nginx
Powered by Drupal

友情链接

校园好文网

 www.shipingzhong.cn  个人技术网_前端_后台    备案号:苏ICP备18010659号-2