# YQ-parse2-仿微信聊天 **Repository Path**: Java-ZhangYi/wechat-system ## Basic Information - **Project Name**: YQ-parse2-仿微信聊天 - **Description**: YQ-parse2-仿微信聊天 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-21 - **Last Updated**: 2024-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 仿微信聊天 -在线聊天- ## 初学java和前端时做的一个小demo, ### 本项目前后端要使用nginx做接口反向代理 请自行百度 ## Nginx.conf 配置参考 #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 809; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root 'E:/YueQIan/parseProject/Project2/WeChat_Font'; index index.html index.htm; } location ~ /(api).*$ { proxy_pass http://localhost:8080; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } } } ![img.png](img.png) ![img_1.png](img_1.png)