创建一个WebSocket配置类来注册WebSocket端点。 packagecn.juwatech.config;importorg.springframework.context.annotation.Configuration;importorg.springframework.web.socket.config.annotation.EnableWebSocket;importorg.springframework.web.socket.config.annotation.WebSocketConfigurer;importorg.springframework.web.socket.conf...
我按照文章:https://github.com/jumpserver/jumpserver/blob/master/docs/nginx-with-ssl-configuration.md配置了nginx,但是web登录无法使用: Connecting...Connection Reset By Peer 文章里提到了websocket默认监听tcp3000端口,但是在jumpserver上用netstat -lntp没见
部署一个ngnix,修改ngnix安装目录下的/config/nginx.conf文件,刚安装的ngnix的配置文件里默认应该为:在http的第一个server节点中后面再添加第二个代理项:直接将第一组server节点复制一遍,然后修改其中的值为:server { listen 8001;server_name 192.168.111.222;location / { root html;ind...
平时我们在做项目时经常需要对一些重要功能操作记录日志,方便以后跟踪是谁在操作此功能;我们在操作某些...