0
Fixed

NGINX reverse proxy of Ajenti doesn't work on Ubuntu 14.04

KeviNaomi Shenk fa 6 anys updated by Eugene Pankov (Project coordinator) fa 6 anys 3
I have two servers I migrated to Ubuntu 14.04, and both of them have the same problem. Whereas previously, I could use nginx to serve the Ajenti control panel through reverse proxy, I now am unable to access Ajenti beyond the login screen. The main screen appears with the toolbar, but the loading gears just spin for an infinite amount of time, without loading any other components.  Ajenti still works fine if I load it through port 8000.

Quite a few errors are displayed in the ajenti log, I've pasted some here: http://pastebin.com/BF4NB5DY

I've also pasted my NGINX config here: http://pastebin.com/2kTdRyTv

Under review
Try adding following to location section and see if it helps:

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
Whew!  You fixed it!  Thanks so much!