- Requires node and npm.
- npm install
- nohup npm run dev &
- exit from ssh.
- Follow these instructions to create a service
Deploy to sites using a single script tag, or the WordPress plugin
<script src="://your-server.com/browser/js/stats.js"></script>
ProxyPass /browser http://localhost:8000
location / {
proxy_pass http://127.0.0.1:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
http://localhost:8000/test is a very cheap way to send sample, but real pageload data.