B
B
Bermut2021-08-06 10:02:02
Apache HTTP Server
Bermut, 2021-08-06 10:02:02

How to remove delay from apache guacamole?

Pretty strange question.

I installed apache guacamole according to this instruction, if we go to the local ip of the machine on which the server is installed and connect to the client, then everything goes quickly, the ssh console password field appears instantly.
I also made a proxy through nginx, it works, we enter under the same data, we also select the connection, but it says "connection, Connected to Guacamole. Waiting for a response ..." and this window lasts exactly 90 seconds, and then the same one appears password entry string.

nginx config

server {
  listen 80;
  listen [::]:80;

  server_name r.domain.com;

  location / {
        
        proxy_pass http://192.168.1.2:8080/guacamole/;
  }
}


I hope I explained it normally, the configuration of tomcat and guacamole are stock, I didn’t change anything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2021-08-06
@Bermut

The problem is in the proxy through NGINX, did you configure it from a flashlight or did you find the magic lines for guacamole?

location /guacamole {                                                                                                                                           
        proxy_pass http://guacamole:8080;                                                                                                                           
        proxy_buffering off;                                                                                                                                        
        proxy_http_version 1.1;                                                                                                                                     
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;                                                                                                
        proxy_set_header Upgrade $http_upgrade;                                                                                                                     
        proxy_set_header Connection $http_connection;                                                                                                               
    }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question