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.
Ajenti nginx with ssl Несоответствие в документации http://support.ajenti.org/topic/349870-ajenti-behind-nginx/
Предлагаю заменить или добавить конфиг для nginx в статье на примерно такой вариант.
Предварительно требуется создать или перенести сертификаты (file.crt и file.key), если они есть.
server {
listen 443;
server_name your-domain-name-or-and-ip-adress;
client_max_body_size 20m;
access_log /var/log/nginx/ajenti-access.log;
error_log /var/log/nginx/ajenti-error.log;
ssl on;
ssl_certificate /path/to/server/ssl/file.crt;
ssl_certificate_key /path/to/server/ssl/file.key;
keepalive_timeout 60;
ssl_ciphers HIGH:!ADH:!MD5;
ssl_protocols SSLv3 TLSv1;
ssl_prefer_server_ciphers on;
proxy_buffers 16 64k;
proxy_buffer_size 128k;
location /ajenti {
rewrite (/ajenti)$ / break;
rewrite /ajenti/(.*) /$1 break;
proxy_pass https://your-domain-name-or-and-ip-adress:8000;
proxy_redirect / /ajenti/;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_read_timeout 5m;
}
}
2. Нет никакого смысла в SSL между nginx и ajenti.
Смените локаль системы на русскую и перезагрузите ее
Установка на рабочий сервер
Есть впс работает уже, стоит весь набор (апач и все дела)
Можно установить панельку? Ничего она не попортит?
Ничего не попортит, все конфиги сохраняются как есть.
Ajenti behind Apache 2.2 reverse proxy
The 'Ajenti behind Apache' KB entry only works for HTTPD 2.4 since HTTPD 2.2 has natively no mod_proxy_wstunnel.
The following - which I have put together from various support entries - works 90%:
SSLProxyEngine On
ProxyRequests Off
ProxyPass /ajenti https://localhost:8000
ProxyPassMatch ^/(ajenti.*)$ https://localhost:8000/$1
ProxyPassReverse /ajenti:static/ https://localhost:8000/ajenti:static/
ProxyPassReverse /ajenti:auth https://localhost:8000/ajenti:auth
ProxyPassReverse /ajenti https://localhost:8000
The problem with this configuration is, that after logging in and out, Ajenti issues a redirect to /
This was already mentioned here:
http://support.ajenti.org/topic/227663-ajenti-apac...
https://bugs.launchpad.net/ajenti/+bug/1249425
Thanks for looking into this.
SSL Certificate generation error at installation (Debian)
At install i get an error at generating the SSL certificate:
Traceback (most recent call last):
File "/usr/local/bin/ajenti-ssl-gen", line 20, in <module>
if config['ssl']['certificate']:
KeyError: 'certificate'
Im working on a Debian, cat /proc/version gives:
Linux version 3.16.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19)
After deactivating SSL, i can log in to the page, but there is only the outer frame. The Safari debugger tells me:
Any idea to fix these problems?
regards
Norbert
fedora 19
пытаюсь поставить на fedora 19. получаю такую фигню с зависимостями:
---> Package python-tempita.noarch 0:0.5.1-5.fc19 will be installed
---> Package reconfigure.noarch 0:0.1.26-1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: reconfigure-0.1.26-1.noarch
--> Finished Dependency Resolution
Error: Package: reconfigure-0.1.26-1.noarch (ajenti)
Requires: python(abi) = 2.6
Installed: python-2.7.5-4.fc19.i686 (@updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-1.fc19.i686 (fedora)
python(abi) = 2.7
python(abi) = 2.7
Available: python3-3.3.2-2.fc19.i686 (fedora)
python(abi) = 3.3
Available: python3-3.3.2-6.fc19.i686 (updates)
python(abi) = 3.3
Error: Package: python-gevent-socketio-0.3.5_rc2-1.noarch (ajenti)
Requires: python(abi) = 2.6
Installed: python-2.7.5-4.fc19.i686 (@updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-1.fc19.i686 (fedora)
python(abi) = 2.7
python(abi) = 2.7
Available: python3-3.3.2-2.fc19.i686 (fedora)
python(abi) = 3.3
Available: python3-3.3.2-6.fc19.i686 (updates)
python(abi) = 3.3
Error: Package: ajenti-1.0.5.3-1.noarch (ajenti)
Requires: python(abi) = 2.6
Installed: python-2.7.5-4.fc19.i686 (@updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-1.fc19.i686 (fedora)
python(abi) = 2.7
python(abi) = 2.7
Available: python3-3.3.2-2.fc19.i686 (fedora)
python(abi) = 3.3
Available: python3-3.3.2-6.fc19.i686 (updates)
python(abi) = 3.3
Error: Package: python-catcher-0.1.2-1.noarch (ajenti)
Requires: python(abi) = 2.6
Installed: python-2.7.5-4.fc19.i686 (@updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-1.fc19.i686 (fedora)
python(abi) = 2.7
python(abi) = 2.7
Available: python3-3.3.2-2.fc19.i686 (fedora)
python(abi) = 3.3
Available: python3-3.3.2-6.fc19.i686 (updates)
python(abi) = 3.3
Error: Package: python-exconsole-0.1.2-1.noarch (ajenti)
Requires: python(abi) = 2.6
Installed: python-2.7.5-4.fc19.i686 (@updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-1.fc19.i686 (fedora)
python(abi) = 2.7
python(abi) = 2.7
Available: python3-3.3.2-2.fc19.i686 (fedora)
python(abi) = 3.3
Available: python3-3.3.2-6.fc19.i686 (updates)
python(abi) = 3.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost ~]#
Fedora не является поддерживаемой платформой, но можно поставить: pip install ajenti
Default vhost file location?
Sorry if this is a duplicate post. I don't see my original.
Does Ajenti use its own default vhost file? If so, in which directory is it located?
Do you mean the Apache plugin? Vhost template is hardcoded in the plugin, unfortunately.
Ajenti V mail settings regenerate form CLI/terminal
403 Forbidden
Installed Ajenti to my server.
Got my wordpress website working.
Then I needed to add subdomain to main domain.Used DNS to subdomain to my server ip address where my main domain is.
Now neither of pages work. Place where I installed wordpress sites throws in 403 Forbidden error.
and subdomain throws page not found error. (needs some DNS waiting, but with pingdom you can see 403 Forbidden error aswell.
If I disable subdomain, wordpress one (main domain) starts working again.
So I am quite new in this, what I need to do?
Best wishes,
Silver
Customer support service by UserEcho