下载此文档

CentOS7源码安装Nginx.pdf


文档分类:IT计算机 | 页数:约2页 举报非法文档有奖
1/2
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/2 下载此文档
文档列表 文档介绍
CentOS7源码安装Nginx
系统平台: 64 位
一、安装编译工具及库文件
[******@VM_0_5_centos ~]# yum ins logs/
events {
worker_connections 1024
}
http {
include
default_type application/octetstream
log_format main '$remote_addr $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'
access_log logs/ main
sendfile on
tcp_nopush on#keepalive_timeout 0
keepalive_timeout 60
#gzip on
server {
listen 80
server_name localhost
#charset koi8r
#access_log logs/ main
location / {
root html
index
}
#error_page 404 /
# redirect server error pages to the static page /
#
error_page 500 502 503 504 /
location = / {
root html
}
# proxy the PHP scripts to Apache listening on :

CentOS7源码安装Nginx 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数2
  • 收藏数0 收藏
  • 顶次数0
  • 上传人aisheng191
  • 文件大小138 KB
  • 时间2022-05-16