Skip to content

Commit

Permalink
Optimize KasmVNC
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored Jul 3, 2024
1 parent 90cbc20 commit 3f88aa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kasmvnc-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ server {
$(if [ \"$(echo ${SELKIES_ENABLE_BASIC_AUTH} | tr '[:upper:]' '[:lower:]')\" != \"false\" ]; then echo "auth_basic \"Selkies\";"; echo -n " auth_basic_user_file ${XDG_RUNTIME_DIR}/.htpasswd;"; fi)
location / {
set \$token \"\";
if (\$is_args) {
set \$token \"&\";
}
set \$args \"\${args}\${token}autoconnect=1&resize=scale&clipboard_up=true&clipboard_down=true&clipboard_seamless=true&show_control_bar=true\";
proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection \"upgrade\";
Expand Down

0 comments on commit 3f88aa4

Please sign in to comment.