Relative Content

Tag Archive for nginxnginx-config

Invalid SSL nginx config

I currently have a seperate Ubuntu server that has NGINX configured to stream to Youtube and Twitch. I wanted to also stream to Kick but noticed the protocol is RMTPS which at the time my NGINX was not configured for ssl. I googled and found a way to recompile NGINX with the “–with-http_ssl_module” option. I tested to ensure the module was included by launching NGINX -V which showed the option.

Question: nginx -t warning & emergency report

I´ve just installed Ubuntu 24.04 with nginx and certbot, it works without problems, but the test configuration says:
nginx -t 2024/05/04 21:16:57 [warn] 13886#13886: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 2024/05/04 21:16:57 [emerg] 13886#13886: cannot load certificate "/etc/letsencrypt/live/xxx.de/fullchain.pem": BIO_new_file() failed (SSL: error:8000000D:system library::Permission denied:calling fopen(/etc/letsencrypt/live/xxx.de/fullchain.pem, r) error:10080002:BIO routines::system lib) nginx: configuration file /etc/nginx/nginx.conf test failed