1、访问 网站 http://xxx.xxx.com/#/ 实现跳转官网
2、访问 http://xxx.xxx.com/screen/ 实现跳转大屏
3、访问 http://xxx.xxx.com/stm/#/ 也是实现跳转官网
4、nginx配置如下
user root;
worker_processes 2;
worker_rlimit_nofile 4096;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid /var/run/nginx.pid;
events {
worker_connections 2048;
}
http {
include mime.types;
default_type application/octet-stream;
client_max_body_size 50m;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#