D
D
Denis Petrenko2021-05-27 21:45:29
ubuntu
Denis Petrenko, 2021-05-27 21:45:29

How to organize an open database on vds?

Input data. VDS with a large HDD drive, white ip and database (just a file warehouse. The main SQL database is on a powerful VDS with a bot, and the files are in the storage. Suggest ideas) in the form of a conditional file tree:
- root
-- folder1
---file.jpg
- --file1.jpg
-- folder2
---file.jpg

Question: how best to organize open access (preferably via https) to files to be able to embed these pictures in the bot. That is, so that I can directly receive pictures at the address my.conditional.ip.address/folder1/file.jpg?
ps. The OS is ubuntu 18.04 clean.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-05-27
@Termoslik

Keep no problems. Linux systems will chew any number of files in a directory.
To return, use nginx, it will allow you to keep frequently used images in the cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question