jumpserver You do not have permission to upload this file. If you require access, please check your system settings, or check with your system administrator
if [ "$SECRET_KEY" = "" ]; then SECRET_KEY=`cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 50`; echo "SECRET_KEY=$SECRET_KEY" >> ~/.bashrc; echo $SECRET_KEY; else echo $SECRET_KEY; fi if [ "$BOOTSTRAP_TOKEN" = "" ]; then BOOTSTRAP_TOKEN=`cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 16`; echo "BOOTSTRAP_TOKEN=$BOOTSTRAP_TOKEN" >> ~/.bashrc; echo $BOOTSTRAP_TOKEN; else echo $BOOTSTRAP_TOKEN; fi npm install -g vue-tsc npm install -g npm docker run --name redis-server -t \ --hostname redis-server \ --restart=always \ -v /etc/localtime:/etc/localtime\ -p 6379:6379 -d redis:5.0 docker run --name jumpserver -t --hostname jump-server --restart=always -v /etc/localtime:/etc/localtime -p 8058:80 -p 2222:2222 -e SECRET_KEY=$SECRET_KEY -e BOOTSTRAP_TOKEN=$BOOTSTRAP_TOKEN -e DB_HOST="mysql-server" -e DB_PORT=3306 -e DB_NAME="jumpserver" -e DB_USER="jumpserver" -e DB_PASSWORD="jumpserver" --link mysql-server:mysql -e REDIS_HOST="redis-server" -e REDIS_PORT="6379" --link redis-server:redis jumpserver/jms_all:1.5.2 docker run --name=jumpserver \ --hostname=jump-server \ --mac-address=02:42:a9:fe:1e:04 \ --env=DB_PASSWORD=jumpserver \ --env=SECRET_KEY=HYyLkKVdEOMSA0skdUNWdSF3lvsEyufIu9v1FYEheLpKn9toqo \ --env=REDIS_HOST=redis-server \ --env=BOOTSTRAP_TOKEN=2S81RLtRhqEkV4dU \ --env=DB_HOST=mysql-server \ --volume=/etc/localtime:/etc/localtime \ --workdir=/opt \ -p 2222:2222 \ -p 8088:80 \ --link mysql-server:mysql \ --link redis-server:redis \ --restart=always \ --log-opt max-file=20 \ --log-opt max-size=50m \ --runtime=runc \ -t \ jumpserver/jms_all:1.5.2
[root@jump-server opt]# cat /etc/nginx/conf.d/jumpserver.conf | grep 限制
client_max_body_size 5000m; # 录像及文件上传大小限制