My project is an api created in nodejs and I use extprocessor to redirect everything to a specific port raised with pm2.
The fact is that I need to create a folder where I can save information but allow it to be read.
I currently do that for ssh.
context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowBrowse 1
rewrite {
enable 0
}
addDefaultCharset off
phpIniOverride {
}
}
(I’m sorry for my way of explaining but it is a subject that I really do not master)
If I access the route, it returns the specific file that I indicate, but I would like it to show me the contents of the folder in another particular case, where I try to create a latest.yml file for the automatic update of a program
Note: If possible, can you tell me a URL where I can see documentation on how to configure my “vhost config” and avoid asking these types of questions. This would be greatly appreciated