Place a custom image on home page

I am going to place a custom image on the home page, but I can not find a proper folder on the server to upload it.
Please help. Where can I upload my image file, and how can I reference it in my html code?

I found the solution.
I made a folder named « custom » below the /var/www/peertube with the peertube user permissions. Then I added the following lines to the peertube site in Nginx configuration:

Custom pages

location ^~ /custom/ {
root /var/www/peertube;

It is now possible to copy the required images in this folder an refer to them as « src=instance_URL/custom/photo.jpg » in HTML img tag.

1 Like