helva-robot/drive/etc/nginx/snippets/drive.conf

19 lines
414 B
Plaintext

location /drive/ {
alias /opt/helva-robot/drive/var/www/drive/;
try_files $uri $uri/ /drive/index.html;
}
location /drive-ws {
proxy_pass http://127.0.0.1:8002/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
location /drive-health {
proxy_pass http://127.0.0.1:8002/health;
}