Hi Ajdar You seem to have some old configuration in /etc/nginx/sites-enabled/nginx-guacamole-ssl (apparently from previous testing).
Jun 20 11:09:44 localhost nginx[23564]: nginx: [emerg] host not found in upstream "guacamole.localhost" in /etc/nginx/sites-enabled/nginx-guacamole-ssl:35 If you don't know how to fix it you should remove it. Stefan On Jun 20, 2019, at 13:18, A. Yuesuen <[email protected]<mailto:[email protected]>> wrote: Hi Stefan, thanks for your help :) i got this message: ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2019-06-20 11:09:44 UTC; 16s ago Docs: man:nginx(8) Process: 23564 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) Jun 20 11:09:44 localhost systemd[1]: Starting A high performance web server and a reverse proxy server... Jun 20 11:09:44 localhost nginx[23564]: nginx: [emerg] host not found in upstream "guacamole.localhost" in /etc/nginx/sites-enabled/nginx-guacamole-ssl:35 Jun 20 11:09:44 localhost nginx[23564]: nginx: configuration file /etc/nginx/nginx.conf test failed Jun 20 11:09:44 localhost systemd[1]: nginx.service: Control process exited, code=exited status=1 Jun 20 11:09:44 localhost systemd[1]: nginx.service: Failed with result 'exit-code'. Jun 20 11:09:44 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server. still a errorcode :( Am Do., 20. Juni 2019 um 13:01 Uhr schrieb Stefan M. Radman <[email protected]<mailto:[email protected]>>: You'll have to remove the nginx default config unlink /etc/nginx/sites-enabled/default and restart nginx systemctl restart nginx Stefan On Jun 20, 2019, at 12:43, A. Yuesuen <[email protected]<mailto:[email protected]>> wrote: Hi Stefan, The Problem is i got this error code when i start nginx: Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. The Status is: nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2019-06-20 10:36:13 UTC; 2min 21s ago Docs: man:nginx(8) Process: 22720 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) Jun 20 10:36:13 localhost systemd[1]: Starting A high performance web server and a reverse proxy server... Jun 20 10:36:13 localhost systemd[1]: nginx.service: Control process exited, code=exited status=1 Jun 20 10:36:13 localhost systemd[1]: nginx.service: Failed with result 'exit-code'. Jun 20 10:36:13 localhost nginx[22720]: nginx: [emerg] a duplicate default server for 0.0.0.0:80<http://0.0.0.0/> in /etc/nginx/sites-enabled/default:22 Jun 20 10:36:13 localhost nginx[22720]: nginx: configuration file /etc/nginx/nginx.conf test failed Jun 20 10:36:13 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server. i'm using a Server with Ubuntu 18.04 Apache2 Tomcat8 Am Do., 20. Juni 2019 um 12:27 Uhr schrieb Stefan M. Radman <[email protected]<mailto:[email protected]>>: Hi Ajdar Which operating system are you running on? Have a look at Chapter 4. Proxying Guacamole<https://guacamole.apache.org/doc/gug/proxying-guacamole.html> https://guacamole.apache.org/doc/gug/proxying-guacamole.html The nginx configuration below should achieve what you want. Stefan [root@guacamole ~]# cat /etc/nginx/conf.d/guacamole.conf server { listen 80 default_server; listen [::]:80 default_server; server_name _; location / { proxy_pass http://localhost:8080/guacamole/; 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; proxy_cookie_path /guacamole/ /; access_log off; } } On Jun 20, 2019, at 09:39, A. Yuesuen <[email protected]<mailto:[email protected]>> wrote: Hello Guys, Guacamole is working finei I can enter Gucamole by my LDap User on the Adress: "hostname.com:8080/guacamole<http://hostname.com:8080/guacamole>" and started connections already. Now i want change the Url from: http://hostaname.com:8080/guacamole in https://hostname.com<https://hostname.com/> The Documentation in the web are a little diffcult to understand and cant follow them (most are without a path). Can someone send a Tutorial for beginners. best wishes Ajdar
