nginx开启gizp压缩时配置域名直接指向官网以及带有路径的其他网站
发布时间
阅读量:
阅读量
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
全部评论 (0)
还没有任何评论哟~
