Seungmin Kim 1 anno fa
parent
commit
7f6a56eabe
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      kasmvnc-entrypoint.sh

+ 6 - 0
kasmvnc-entrypoint.sh

@@ -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\";