linux 运维工具之jumpserver

发个随笔,证明我玩过:

image

部署教程:

https://docs.jumpserver.org/zh/master/install/setup_by_fast/#_1

关于jumpserver nginx代理后提示websocket错误处理:

参考nginx 反向代理websocket连接:

https://www.cnblogs.com/sanduzxcvbnm/p/11996951.html?ivk_sa=1024320u

我的nginx配置如下:

server {
  listen 80 ;
      server_name jump.domain.com;

        proxy_set_header X-Forwarded-Host $http_host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;

  location / {
    proxy_pass http://localhost:8099/;
    proxy_buffering off;
    proxy_request_buffering off;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;

    proxy_ignore_client_abort on;
    proxy_connect_timeout 600;
    proxy_send_timeout 600;
    proxy_read_timeout 600;
    send_timeout 6000;


  }

}

懂得,原来世界如此简单!

原文地址:https://www.cnblogs.com/qianxunman/p/15433917.html