hp5212000
2015-09-11 06:35在虚拟机上安装nginx,无法通过http访问nginx的状态
第一次使用Azure,
1. 创建了一个虚拟机然后在上面安装了nginx
2. 配置nginx状态检查
server {
listen 80;
charset utf-8;
access_log /var/log/nginx/gxx.log;
location /nginx-status {
stub_status on;
access_log off;
error_log off;
allow all;
}
}
- 在Azure虚拟机Endpoints里打开80端口
- 保存重启后通过Azure给的DNS访问,结果老是超时
有遇到这个问题的同学给指个道,不胜感激。
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- 访问云服务器上Docker运行的Nginx容器报404
- linux
- nginx
- docker
- centos
- 1个回答
- VMware虚拟机内,Kali Linux一旦进入sudo就无法用键盘输入东西,只能按Enter。(已使用增强型键盘,仍无效)
- python
- linux
- ruby
- nginx
- 1个回答
- 使用testcontainer时出现问题
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答
- 虚拟机版本CentOS Linux release 7.6.1810 (Core)下离线安装keepalived+nginx+supervisor
- java
- linux
- bash
- nginx
- centos
- 3个回答
- Docker中nginx服务器端口问题
- docker
- centos
- 2个回答
换一换