Skip to content

Java电商单体项目演进 LVS + Nginx + Keepalive + Redis 持久化 主从复制 哨兵 集群 + 分布式会话 拦截器 + 单点登录

Notifications You must be signed in to change notification settings

Mrxxm/Foodie-mall

Repository files navigation

Java电商单体项目演进

  • 项目api文档地址

链接:地址 http://api.kenrou.cn/foodie-dev-api/doc.html

  • 项目地址

项目地址 http://shop.kenrou.cn

  • nginx配置
upstream api.kenrou.cn {
        server 172.19.190.238:8018;
}

server {

        listen 80;
        server_name api.kenrou.cn;

        location / {
                proxy_pass http://api.kenrou.cn;
        }
}

server{
	listen 80;
	server_name shop.kenrou.cn;

	location / {
		root /var/www/foodie-webapps/foodie-shop;
		index index.html;
	}
}

server {

	listen 80;
	server_name center.kenrou.cn;

	location / {
		root /var/www/foodie-webapps/foodie-center;
                index index.html;
	}
}
  • 项目部署目录
/usr/local/tomcat-api/webapps/foodie-dev-api.war
  • tomac启动目录
/usr/local/tomcat-api/bin/startup.sh
  • 数据库备份

数据库

  • 网站展示

About

Java电商单体项目演进 LVS + Nginx + Keepalive + Redis 持久化 主从复制 哨兵 集群 + 分布式会话 拦截器 + 单点登录

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published