nginx.conf
-
LAMP
L - Linux
A - Apache
M - MySQL
P - PHPThere is an nginx version, LEMP, but it isn't on Cloudron:
L - Linux
E - Engine X (nginx)
M - MySQL
P - PHPIf this is what OP is trying to install, https://themeforest.net/item/playtube-video-html5-website-template/18948152, then it's good to realize it is simply an html template. All you have to do @mdc773 is place that html file into whichever folder the Instructions (Cloudron, that is) indicate.
Then again, this comment suggests simply using the Surfer app. https://forum.cloudron.io/post/61498
-
No one in the universe understands how an nginx.conf file works in a LAMP environment - because it doesn't! The syntax in an nginx.conf file is very different from a LAMP - Apache.conf file. One will not work in the other. So, either you are working in a LEMP stack without realizing it, or it isn't an nginx.conf file.
https://docs.playtubescript.com/#idocs_start gives some clues, perhaps, of what you are trying to do. Two things I saw in that list that I'm not sure are part of a Cloudron LAMP install is the nodejs config.json file/location, and the ffmpeg item. I don't think either come with the LAMP installation; but this isn't a Cloudron problem per se. No LAMP offering automatically comes with those two items pre-installed and functioning (but the way those two are shown in the image is confusing because it looks like they are IN the root directory of the web server???)
It's important to understand that all the talk about Cloudron being so simple and easy is due to the context of Docker. If what you are trying to do has been using Docker, or requires Docker... then Cloudron is the absolute easiest and most powerful option available. If you are managing your web server on it's own server, by hand, then you are able to install whatever, wherever, and make the connections however (although there are typically strict conventions for most software), then Cloudron really isn't necessary. I in fact have a separate VPS on which I just run 3 LAMP php-based apps because there were complications and incompatibilities doing so in a Docker-based LAMP environment. The PHP app you are trying to install clearly assumes a non-Docker, native LAMP environment.
On a second reading of the instructions in that link above, I actually suspect you probably followed ALL the steps in the instructions, but you ARE in a LAMP environment, and when you got to the NGINX.CONF section you still followed the instructions... except the webserver isn't using nginx, it is using Apache - so even though you placed the nginx.conf script correctly ("it works"), it isn't being used. And nginx also isn't even running, otherwise you'd get an error message that Apache can't start up because another app is using the required ports.
So we are back at @robi's statement - "how is anyone on the forum supposed to know what you are trying to do in the OP?" Next time, include things like the various links I added. And be clearer. I hope you see by this point how unclear your request is! Look over the instructions again, then look carefully at the Cloudron LAMP folder structure - tell us in which folder you put what, for example.
Two last things: this PHP app requires a calendar extension which I don't think the Cloudron LAMP app has (https://docs.cloudron.io/apps/lamp/); and finally, the fact it requires PHP 5.5+ suggests it won't even work on the Cloudron LAMP app because that uses, at a minimum, PHP 7.4. And whatever runs on on pre-7.x typically doesn't run on post-7.x. Good luck!