社区
高性能WEB开发
帖子详情
nginx 配置问题
qq_15362175
2014-07-22 09:08:28
upstream baa{
server localhost:8090;
}
server {
listen 80;
server_name aa.i.com;
access_log \log\aa.log;
location /{
proxy_pass http://baa;
}
}
配置如上,为什么在访问网站时,URL里面直接是http://baa这种,还不是代理过的?
...全文
219
3
打赏
收藏
nginx 配置问题
upstream baa{ server localhost:8090; } server { listen 80; server_name aa.i.com; access_log \log\aa.log; location /{ proxy_pass http://baa; } } 配置如上,为什么在访问网站时,URL里面直接是http://baa这种,还不是代理过的?
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
求道者
2014-08-02
打赏
举报
回复
proxy_pass的配置应该是http://+server_name吧?
qq_15362175
2014-07-22
打赏
举报
回复
引用 1 楼 yxjvbgood 的回复:
直接输入本机域名,域名在nginx服务器上配置
能给个例子不?
yxjvbgood
2014-07-22
打赏
举报
回复
直接输入本机域名,域名在nginx服务器上配置
相关推荐
nginx
问题
清单
nginx
问题
清单
nginx
的安装以及启动
配置
nginx
开机自启:开启
nginx
的日志
nginx
配置
语法
nginx
配置
:server_name的作用
nginx
日志级别access_log logs/access.log main;log_format main解决重启
问题
如何查看安装
Nginx
时的编译选项
nginx
反向代理和负载均衡的
配置
nginx
配置
注解版
nginx
的安装以及启动 安装:...
nginx
配置
https 报错
问题
nginx
配置
https 报错
问题
问题
描述 用
nginx
配置
https 时,需要
配置
443 端口、私钥路径、证书路径。会报错如下: root@VM-173-231-ubuntu:~#
nginx
-t
nginx
: [emerg] BIO_new_file("/usr/local/
nginx
/conf1_yculcy.cn_bundle.crt") failed (SSL: erro...
Nginx
proxy_pass
配置
转发 / 路径
问题
转载地址:
Nginx
proxy_pass
配置
转发 / 路径
问题
-谢先斌的博客
Nginx
配置
企业微信API正向代理到内网环境
Nginx
代理 MySQL 端口
Nginx
proxy_pass
配置
转发 / 路径
问题
(当前)
Nginx
配置
密码认证
Nginx
配置
CPU 亲和性
Nginx
配置
UDP/TCP/WebSocket 反向代理
Nginx
配置
目录文件列表显示功能
Nginx
配置
gzip 压缩、缓存功能
Nginx
配置
端口转发 Ngi.
nginx
问题
总结
nginx
问题
总结 标签(空格分隔):
nginx
nginx
问题
总结
nginx
配置
详解 location
配置
详解
nginx
常用命令
Nginx
配置
反向代理后,页面中取绝对URL地址显示代理端口的解决办法
nginx
关闭delete和put方法
nginx
配置
详解 中文
配置
详解: http://tool.oschina.net/apidocs/apido...
nginx
+ php 502
可能原因:
nginx
server{}
配置
问题
: fastcgi_pass unix:/tmp/php-cgi.sock; (这里要
配置
好,能找到php socket的位置)
nginx
配置
问题
,eg:https://blog.csdn.net/qq_39399594/article/details/88853100
nginx
服务
问题
service
nginx
restart ...
发帖
高性能WEB开发
高性能WEB开发
高性能WEB开发
复制链接
扫一扫
2.5w+
社区成员
4373
社区内容
高性能WEB开发
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2014-07-22 09:08
社区公告
暂无公告