iot.darbx.me/config/nginx.conf

15 lines
367 B
Nginx Configuration File

server {
listen 62.210.92.87:80;
server_name iot.drbx.me;
include /etc/nginx/snippets/letsencrypt-acme-challenge.conf;
location /api {
proxy_pass http://127.0.0.1:12346/;
}
location / {
root /home/tjiho/repos/iot.darbx.me/pages;
index index.html;
}
}