PipaServer Nginx Configuration
来源:互联网 发布:java软件工程师辛苦么 编辑:程序博客网 时间:2024/06/06 12:22
/etc/nginx/nginx.conf
upstream www { server 127.0.0.1:8000; keepalive 64;}upstream pipa { server 127.0.0.1:8001; keepalive 64;}upstream plan8{ server 127.0.0.1:8002; keepalive 64;}upstream plan8mobile{ server 127.0.0.1:8003; keepalive 64;}upstream plan8db{ server 127.0.0.1:8004; keepalive 64;}server { listen 80; server_name www.joinp8.com; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { proxy_pass http://www; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }}server { listen 80; server_name pipa.joinp8.com; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { proxy_pass http://pipa; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }}server { listen 80; server_name www.plan8t.com; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { proxy_pass http://plan8; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }}server { listen 80; server_name m.plan8t.com; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { proxy_pass http://plan8mobile; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }}server { listen 80; server_name api.plan8t.com; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { proxy_pass http://plan8db; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }}
0 0
- PipaServer Nginx Configuration
- 点点滴滴 - Nginx的configuration
- Configuration for Nginx&codeIgniter
- Nginx Load Balancing — Advanced Configuration
- NGINX Configuration file [Not finished yet]
- configuration
- configuration
- configuration
- Configuration
- Configuration
- Configuration
- Configuration
- @Configuration
- configuration
- Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks
- Minimal Nginx and Gunicorn configuration for Django projects
- Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks
- nginx.org的Configuration file measurement units页面翻译
- Mac数据分析软件安装个人笔记
- bat 批命令剪切1个月前的iis日志到备份文件夹中
- ZOJ 3785 What day is that today? (费马小定理)
- logrotate使用
- 58到家数据库30条军规解读
- PipaServer Nginx Configuration
- cmd MYSQL常见出错代码解析
- ORACLE 回滚段
- Linux系统格式化磁盘+挂载分区
- Maven 手动安装jar到本地仓库
- 今日头条2017后端工程师实习生笔试题——最大映射
- 50 道 Java 基础编程练习题
- ssh端口转发开启mysql“外链”
- 转义字符表