RustDesk Installation: Certificate & Nginx Error #220
Replies: 3 comments 7 replies
-
|
Could you consider docker installation, https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/installscript/docker/? |
Beta Was this translation helpful? Give feedback.
-
|
BTW, I think your nginx issue has nothing to do with the insintall script, since the script has never used Since nobody maintains the installation script any more, I will remove it from the manual later, and only recommend docker installation. |
Beta Was this translation helpful? Give feedback.
-
You need to run the install and choose yes. Choosing no will drop into the other if statement and will mess up your installation temporarily. Re-run the script and choose yes. Verify symlinks /snap snap are created/active. Verify snap and certbot are installed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I had reached out to you when I attempted to install RustDesk a few weeks ago. Here's the link if you're interested: #209
After being out due to illness, I'm attempting it again. However, this time I have a subdomain for RustDesk—let's call it rd.example.tld.
I'm attempting to install RustDesk using the "Simple Install Script." During the installation process, I'm prompted to install Certbot. However, since Certbot is already installed (via Plesk), and the domain for RustDesk is secured with a Let's Encrypt certificate, I opt not to install Certbot by selecting "No" for the prompt.
Despite my choice, I encounter the following error message:
"Sorry, the TLS certificate for rd.example.tld failed to generate! Please verify that ports 80 and 443 are correctly forwarded and that the DNS record points to this server's IP address. Please try again."
After this error, the script terminates, and I observe the following output in the console:
"Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] unknown directive "brotli" in /etc/nginx/conf.d/brotli.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
The nginx plugin is not functioning correctly; there may be issues with the existing configuration.
The error reported is: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] unknown directive "brotli" in /etc/nginx/conf.d/brotli.conf:1\nnginx: configuration file /etc/nginx/nginx.conf test failed\n')"
Could you please assist me in identifying the problem and suggesting a solution?
Beta Was this translation helpful? Give feedback.
All reactions