广州活力数据恢复中心

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1685|回复: 0

nginx配置文件

[复制链接]

860

主题

1784

帖子

9514

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9514
QQ
发表于 2019-5-23 22:03:49 | 显示全部楼层 |阅读模式

nginx配置文件


  1. server {
  2.     listen       80;
  3.     server_name  localhost;

  4.     #charset koi8-r;
  5.     #access_log  /var/log/nginx/host.access.log  main;

  6.     location / {
  7.         root   /usr/share/nginx/html;
  8.         index  index.html index.htm;
  9.     }

  10.     #error_page  404              /404.html;

  11.     # redirect server error pages to the static page /50x.html
  12.     #
  13.     error_page   500 502 503 504  /50x.html;
  14.     location = /50x.html {
  15.         root   /usr/share/nginx/html;
  16.     }

  17.     # proxy the PHP scripts to Apache listening on 127.0.0.1:80
  18.     #
  19.     #location ~ \.php$ {
  20.     #    proxy_pass   http://127.0.0.1;
  21.     #}

  22.     # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  23.     #
  24.     #location ~ \.php$ {
  25.     #    root           html;
  26.     #    fastcgi_pass   127.0.0.1:9000;
  27.     #    fastcgi_index  index.php;
  28.     #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
  29.     #    include        fastcgi_params;
  30.     #}

  31.     # deny access to .htaccess files, if Apache's document root
  32.     # concurs with nginx's one
  33.     #
  34.     #location ~ /\.ht {
  35.     #    deny  all;
  36.     #}
  37. }
复制代码




硬盘数据恢复/优盘内存卡数据恢复/服务器数据恢复
data recovery service www.rflashdata.com 数据热线+86 18620923827(微信whatsapp)
buffalo 隨身碟數據救援 bitlocker WDV2 lacie EFS等加密硬盘数据恢复,指纹爱国者加密优盘数据恢复 +86 18620923827
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|硬盘FLASH数据恢复论坛

GMT+8, 2024-5-16 22:54 , Processed in 0.027910 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表