Hello All,
first, please bear with me, I know it must be a silly question.
I have a personal NAS, OpenMediaVault, running on Debian/Nginx on my LAN.
There is specific file for the OMV webgui in /etc/nginx/sites-available.
I need to use a very simple web app, which reads the temperature from an USB sensor, so I tried to configure a Virtual Host adding such a file to sites-available:
server {
listen 80;
listen [::]:80;
server_name yocto;
root /var/www/yocto;
index index.html status.html;
location / {
try_files $uri $uri/ =404;
}
}
Configuration tested OK, symbolic link to sites-enabled done, however, only Openmediavault comes up.
I understand that what is missing is the information that points to one or the other web application when I enter 192.168.1.xxx.
But how do I do that?
At the moment, I sorted to have OMV listen on port 81, so both work nicely at the same time, one at 192.168.1.xxx:81, the other at 192.168.1.xxx.
Thanks for your time and comments,
ciao,
-Gian