Welcome to the Ajenti Idea Exchange. It's your chance to collaborate with our team and other users to influence the future of Ajenti! Ideas appreciated.

0
Отвечен

After Ajenti installation working site gives : 502 Bad Gateway nginx/1.6.0

Wiz Kiran 10 лет назад обновлен Yan Bourgeois 8 лет назад 9
I use Debain 7.5 Wheezy and my site was up and running. I installed Ajenti and since then I get 502 Bad Gateway error. When I click on Nginx on Ajenti (already removed Apache), I get the following error

[Errno 2] No such file or directory: '/etc/nginx/sites-available' Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message self.ui.dispatch_event(update['uid'], update['event'], update['params']) File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 378, in dispatch_event self.event(event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 402, in event getattr(self, 'on_%s' % self_event)(**(params or {})) File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 376, in on_switch child.broadcast('on_page_load') File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 356, in broadcast getattr(self, method)(*args, **kwargs) File "/usr/lib/pymodules/python2.7/ajenti/plugins/webserver_common/api.py", line 144, in on_page_load self.refresh() File "/usr/lib/pymodules/python2.7/ajenti/plugins/webserver_common/api.py", line 154, in refresh self.hosts = [WebserverHost(self, self.hosts_dir, x) for x in self.hosts_dir.list_available()] File "/usr/lib/pymodules/python2.7/ajenti/plugins/webserver_common/api.py", line 25, in list_available return [x for x in sorted(os.listdir(self.dir_a)) if not os.path.isdir(os.path.join(self.dir_a, x))] OSError: [Errno 2] No such file or directory: '/etc/nginx/sites-available'

Please help. Thanks
0

Redirect subdomains to main domain

MonsterCake 9 лет назад обновлен janxb 9 лет назад 3
Is there a simple way to redirect all subdomains *.domain.com to domain.com?
0

Reverse proxy subdomain to subfolder

Álvaro S. 8 лет назад 0

Hi I'm using Ajenti V and I want to use a proxy_pass to make my subdomains accesible via subfolder. Example: subdomain.example.com -> example.com/subdomain. I want this because of SSL. I don't own a wildcard certificate and with this method I can use SSL.


In the main domain I added a reverse proxy with the url pattern /subdomain (exact) and URL: http://subdomain.example.com. The first problem I had was that one header was too long, so I added large_client_header_buffers 4 64k; but after doing that I get an Internal Server Error and this error is in the log: 4096 worker_connections are not enough while connecting to upstream. Tried to edit worker_connections but I cant because it revert to 4096.


Any solutions?


Thanks.

0
Не ошибка

Install Troubles

Jon Wahl 11 лет назад обновлен anonymous 6 лет назад 2
Hello, I get the following when I try to install:

The following packages have unmet dependencies:
 ajenti : Depends: python-gevent but it is not going to be installed
  Depends: python-gevent-socketio but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@olaf:/usr/local/src# apt-get install python-gevent
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-gevent : Depends: python (< 2.7) but 2.7.2-7ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.


Ответ
Expired?
0
Отвечен

Can Ajenti allow setting up a reverse proxy

Crazy Raisin 9 лет назад обновлен Dylan 8 лет назад 6
I got Ajenti installed on the physical server and several VM's with bridged networks. Is it possible to setup reverse proxy with Ajenti to point the proper domains?
Ответ
Yes, you can set up reverse proxy vhosts with Ajenti V.
0

Nginx failing to start (Ajenti V behind nginx proxy)

Robert Bethke 8 лет назад обновлен 8 лет назад 1

If I reboot my server nginx is failing to start properly. I get a ip binding error and have to stop nginx and start it to get things going. (I'm running ajenti behind an nginx proxy). If I check the status of ajenti through systemctl I see only the panel list. Once I do this I can restart ajenti v and the websites just fine. If I reboot the websites then Ajenti will have all the expected child process listed. Any idea how I might be able to resolve?

0
Исправлен

Issues with SSL

James Lott 11 лет назад обновлен Eugene Pankov (Project coordinator) 11 лет назад 0

I feel like a joke. My issue was 100% because I forgot to prepend https:// onto the beginning of my URL. There is no bug.

Ответ

Fixed! :D

0
Отвечен

Install ajenti on remote vps

10 лет назад обновлен Eugene Pankov (Project coordinator) 10 лет назад 14
Hello. I have pourchased a remote vps server. It has debian, so I copied the command on this site to install ajenti.
After installation, it is suposed to be on https://<hostname>:8000. I tried to replace hostname with the ip or the domain name and I don't get nothing.
Is it really posible to install on remote vps?
0
Отвечен

How do I setup a static webpage?

Daniel Tsionit 10 лет назад обновлен Eugene Pankov (Project coordinator) 10 лет назад 5
Ответ
1. Put your website files (including index.html) under the selected website path.
2. Add a single Static files content entry in the website settings.
3. Save
0

Плагин терминала в Chrome 32.0+

SysViro AI 10 лет назад обновлен 10 лет назад 2
Некорректно реагирует на клавиатуру в фрейме терминала, не работает backspace, навигация стрелками

Сервис поддержки клиентов работает на платформе UserEcho