Also my nginx.conf file content is :
user www-data;
worker_processes auto;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript
text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
From: Giorgio <[email protected]>
To: <[email protected]>
Sent: 7/13/2017 10:56 AM
Subject: Re: Issues with secure file transfer
Yes it is nginx
Guacamole file below:
server {
listen 443 ssl;
server_name myservername;
access_log /var/log/nginx/guacamole.access.log ;
error_log /var/log/nginx/guacamole.error.log info ;
ssl_certificate /etc/letsencrypt/live/myservername/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/myservername/privkey.pem;
location ~ /.well-known {
allow all;
}
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
location / {
proxy_buffering off;
proxy_pass http://127.0.0.1:8080/guacamole;
}
}
Regards
Giorgio
From: Mike Jumper <[email protected]>
To: <[email protected]>
Sent: 7/12/2017 11:54 PM
Subject: Re: Issues with secure file transfer
Is Guacamole behind a reverse proxy like Nginx or Apache?
- Mike
On Jul 12, 2017 14:38, "Giorgio" <[email protected]> wrote:
Problem with :
File upload
File Download
Printing
1, Should I access the guacamole server using http all works well.
2, Should I access it using https then
a. I can upload a file with max size 1Mbyte
any file bigger than 1Mbyte will receive and error You do not have permission
to upload this file. If you require access, please check your system settings,
or check with your system administrator.
b. Downloading from the RDP to the client machine always gives an error
Disconnected : you have been disconnected however it gives the options to go
home, reconnect or logout
c. Printing does not work
I can see the following error line into my guacamole error log :
reported that client prematurely closed connection, so upstream connection is
closed too while sending to client
By the way the above scenario is for both private and public domain (I tried it
with both and same behavior)
Could someone please help ?