This is an old revision of the document!
yay -S x11vnc git clone https://github.com/novnc/noVNC
x11vnc ./utils/novnc_proxy --vnc localhost:5900 --listen 9900 http://1.2.3.4/novnc/vnc.html
#user http; worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types; default_type application/octet-stream;
sendfile on; #tcp_nopush on;
#keepalive_timeout 0; keepalive_timeout 65;
server { listen 80 default_server;
location / { root /www/data; try_files $uri $uri/ /index.html; }
location /novnc/ { proxy_pass http://127.0.0.1:9900/; }