Search results

  1. D

    Nginx proxy only for noVNC, not for GUI/api

    Well, actually i use WHMCS and also ProxmoxVPS from ModulesGarden. They have some kind of noVNC addon, i'll upload it here, maybe you can make sense of what this module does (usr.zip). This module allows a client to access the console only if the proxmox server has a public IP. Each VM has it's...
  2. D

    Nginx proxy only for noVNC, not for GUI/api

    Well maybe i can somehow allow it (through nginx) only to access the api in order to start the websocket process but not anything else? How could i build my own apiclient/novnc? What would it need to do?
  3. D

    Nginx proxy only for noVNC, not for GUI/api

    Hello, I need to setup a nginx reverse proxy only for the noVNC console, not the whole proxmox. My proxmox servers are on my private network and I want someone on the Internet to be able to access the console of a VM but i don't want them to access proxmox itself (gui or api). Has anyone done...
  4. D

    At a loss added ssh key via API maybe some bug ?

    I'm gonna let this here for everyone might have the same problem. The trick is: from urllib.parse import quote sshKey = "ssh-rsa <blah blah blah key> user@domain.com" sshKey = quote(sshKey, safe='') data = {} data["sshkeys"] = sshKey...
  5. D

    At a loss added ssh key via API maybe some bug ?

    If i do this, it raises TypeError: raise TypeError TypeError: not a valid non-string sequence or mapping object That's why i was encoding the whole "data" variable
  6. D

    At a loss added ssh key via API maybe some bug ?

    Can you have a look at my below post, please? Help would be much apreciated
  7. D

    At a loss added ssh key via API maybe some bug ?

    Hello, I'm having the same problem but i'm newer to Python. Can you help me out? What i have so far: import urllib cluster = "<cluster_name>" node = "prox3" vmID = 104 sshKey = "ssh-rsa AAAAB3<blah blah blah> user@domain.com" auth = wrdConnProxmox(cluster) data = {} data["sshkeys"] =...