My guess would be that at one point you chose 'Y' when prompted about SSL and did not provide a cert file, thus /etc/nginx/conf.d/ssl.conf was created with an empty path causing Nginx to declare the config as invalid. I suggest you remove the file: # rm /etc/nginx/conf.d/ssl.conf and rerun /opt/kaltura/bin/kaltura-config-all.sh
Note that when running the config scripts, an answer file is automatically created under /tmp/kaltura_date +%d_%m_%H_%M.ans. You can use this file when calling /opt/kaltura/bin/kaltura-config-all.sh, like so: /opt/kaltura/bin/kaltura-config-all.sh /path/to/ans/file
so that you don't have to reinput all params interactively each time you run it. There is also a full template file available here: