博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Nginx反向代理配置文件
阅读量:4485 次
发布时间:2019-06-08

本文共 838 字,大约阅读时间需要 2 分钟。

server {    listen 192.168.66.88:8005;    server_name 192.168.66.88:8005;    root E:/Upays/public/;    index index.php index.html;    log_not_found off;    access_log logs/upay-access.log;    charset utf-8;    location ~ /\. { deny all; }    location = /favicon.ico { }    location = /robots.txt { }    location / {         if (!-e $request_filename) {         rewrite  ^(.*)$  /index.php?s=$1  last;          break;        }   }    location ~ \.php$ {        try_files $uri /index.php =404;        fastcgi_pass 127.0.0.1:9054;        fastcgi_index index.php;        fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;        include fastcgi_params;    }   location /newsite/ {
        proxy_pass    http://192.168.66.89:8002;         proxy_redirect default ;     }}

 

转载于:https://www.cnblogs.com/xiaozong/p/5342209.html

你可能感兴趣的文章
.sh
查看>>
iOS友盟分享的使用总结
查看>>
Android ContentObserver
查看>>
Android 高仿微信实时聊天 基于百度云推送
查看>>
div 背景色设置_DIV背景颜色设置
查看>>
impdp ORA-29913: error in executing ODCIEXTTABLEOPEN callout
查看>>
Cannot find a free socket for the debugger
查看>>
算法排序----时间复杂度O(n^2)的排序方式
查看>>
Metadata Service 最高频的应用 - 每天5分钟玩转 OpenStack(164)
查看>>
谷歌flash
查看>>
员工轮播
查看>>
unittest单元测试框架总结(转)
查看>>
python不用正则过渡括号
查看>>
WebClient.UploadValues Post中文乱码的解决方法
查看>>
在马耳他一本签名纪念册上的题词
查看>>
上传文件以二进制的形式存储
查看>>
html判断IE版本
查看>>
进制转换——9018——1065
查看>>
农奴翻身把歌唱
查看>>
Java删除文件夹下所有文件
查看>>