server {
listen 80;
server_name 1.goal.cn;
index index index.html index.htm index.jsp;
root /www/server/tomcat/1/ROOT/;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
access_log /www/wwwlogs/1.access.log;
}
server {
listen 80;
server_name 2.goal.cn;
index index index.html index.htm index.jsp;
root /www/server/tomcat/2/ROOT/;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
access_log /www/wwwlogs/2.access.log;
}
nginx多站路由配置tomcat
相關文章
- nginx多站點配置Nginx
- Nginx 站點配置多目錄管理Nginx
- tomcat 配置nginx 反向代理TomcatNginx
- Nginx/Httpd負載均衡tomcat配置Nginxhttpd負載Tomcat
- ubuntu20安裝nginx支援多站點及代理配置UbuntuNginx
- nginx網站標準配置Nginx網站
- 多網路卡路由出口配置路由
- Tomcat配置及網站建立教程(IDEA)Tomcat網站Idea
- SSL基礎知識及Nginx/Tomcat配置SSLNginxTomcat
- nginx讓多個tomcat實現負載均衡NginxTomcat負載
- Nginx 多 Laravel 專案配置NginxLaravel
- Nginx配置網站預設httpsNginx網站HTTP
- Docker Nginx 配置多個子域名DockerNginx
- laravel學習之nginx配置站點LaravelNginx
- 005.Nginx配置下載站點Nginx
- NGINX生產環境反向代理到後端tomcat配置Nginx後端Tomcat
- 多域名路由訪問站點子目錄路由
- 做一個有產品思維的研發:部署(Tomcat配置,Nginx配置,JDK配置)TomcatNginxJDK
- Nginx的安裝和多域名配置Nginx
- openresty/nginx配置多個conf檔案RESTNginx
- Keepalived+Nginx+Tomcat配置高可用負載均衡系統示例NginxTomcat負載
- apache 通過ajp訪問tomcat多個站點ApacheTomcat
- tomcat配置Tomcat
- nginx + https(tomcat2)NginxHTTPTomcat
- Java配置17-配置Nginx代理多個前端專案JavaNginx前端
- 利用nginx 配置vue多專案環境NginxVue
- nginx rails 詳細站點配置入門教程NginxAI
- Tomcat安全配置Tomcat
- keeplied + nginx +tomcat 高可用部署NginxTomcat
- Java開發人員常用的服務配置(Nginx、Tomcat、JVM、Mysql、Redis)JavaNginxTomcatJVMMySqlRedis
- Docker 中使用 Nginx 代理多個應用站點DockerNginx
- Vue 前端配置多級目錄實踐(基於Nginx配置方式)Vue前端Nginx
- 詳解Linux下Nginx+Tomcat整合的安裝與配置的步驟LinuxNginxTomcat
- Nginx常用的配置 多臺服務 跨域 HTTPSNginx跨域HTTP
- 自簽名證書 nginx tomcatNginxTomcat
- Nginx+Tomcat Https SSL部署方案NginxTomcatHTTP
- Nginx+Tomcat部署負載均衡NginxTomcat負載
- Nginx 配置Nginx