хочу сдать его в аренду по типу: VPS/VDS
async getAll(req, res) {
try {
const { rows, rowCount } = await db.query(query)
return res.status(200).send({ rows, rowCount })
} catch (error) {
return res.status(400).send(error)
}
}
➜ ~ docker exec -it d1d45faeeb6e /bin/bash
root@0e600b0d0cff:/usr/local/apache2# pwd
/usr/local/apache2
root@0e600b0d0cff:/usr/local/apache2#
root@0e600b0d0cff:/usr/local/apache2# ls -la
total 56
drwxr-sr-x 1 www-data www-data 4096 May 8 02:05 .
drwxrwsr-x 1 root staff 4096 May 8 02:03 ..
drwxr-sr-x 2 root www-data 4096 May 8 02:05 bin
drwxr-sr-x 2 root www-data 4096 May 8 02:05 build
drwxr-sr-x 2 root www-data 4096 May 8 02:05 cgi-bin
drwxr-sr-x 4 root www-data 4096 May 8 02:05 conf
drwxr-sr-x 3 root www-data 4096 May 8 02:05 error
drwxr-xr-x 7 1000 1000 4096 Nov 19 2018 htdocs
drwxr-sr-x 3 root www-data 4096 May 8 02:05 icons
drwxr-sr-x 2 root www-data 4096 May 8 02:05 include
drwxr-sr-x 1 root www-data 4096 Sep 25 15:02 logs
drwxr-sr-x 2 root www-data 4096 May 8 02:05 modules