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.
Nginx config for Ajenti secure reverse proxy
Here is the current Nginx host config I have for running Ajenti behind a reverse proxy:
upstream ajentiweb {
server 127.0.0.1:8000 weight=1 fail_timeout=300s;
}
server {
listen 80;
server_name cp.domain.com;
location / {
proxy_pass http://ajentiweb;
proxy_redirect off;
}
}
The new version of ajenti prefers an https connection. How could I modify this to redirect users to https and tunnel that connection through to ajenti?
You are right, the new version enabled HTTPS by default, but it's not mandatory. You can disable SSL in Configuration section and use your old config.
Or, you can configure nginx as an SSL proxy (for example: http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/) - generally, you need to generate a certificate and add it to the nginx config.
Notepad - config file editor.
when i try and use the notepad to edit asterisk config files, the changes are not saved. what permissions do i need to add to the files to be able to edit them. i have u:rw, g:rw, o:rw set.
Supervisor plugin uses broken link for service-start.png
Correct file is service-run.png
Can be simply fixed with:
sudo cp /usr/share/pyshared/ajenti/plugins/core/files/ui/stock/service-run.png /usr/share/pyshared/ajenti/plugins/core/files/ui/stock/service-start.png
sudo cp /usr/lib/pymodules/python2.7/ajenti/plugins/core/files/ui/stock/service-run.png /usr/lib/pymodules/python2.7/ajenti/plugins/core/files/ui/stock/service-start.png
(Ubuntu 13.04 Server x64)
How can i configure nginx with .htaccess?
I used a webuzo panel by softacoulus. There I can handle.htaccess manually. Can you please tell me how I can use.htaccess with nginx?
Regards.
.htaccess is an outdated technology (in fact used almost only with PHP), and isn't supported by NGINX. But you can convert your .htaccess rules into NGINX custom configuration here: http://winginx.com/en/htaccess
Redirect www to non-www
I'm trying to do a www to non-www redirect for one of my websites but it looks like everything I try fails. This is what I'm using:
server { server_name www.example.com; return 301 http://example.com$request_uri; }
I then get the following error:
nginx: [emerg] "server" directive is not allowed here in /etc/nginx/conf.d/examplecom.conf:16 nginx: configuration file /etc/nginx/nginx.conf test failed
Am I doing something wrong?
I cant update ajenti
Here is a problem:
gzip:/var/lib/apt/lists/partial/repo.ajenti.org_ng_debian_dists_main_main_binary-armhf_Packages: Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
Your APT lists are damaged. Please follow this instruction: http://stackoverflow.com/a/15508704/223122
FreeBSD import catcher error
./ajenti-bsd start
Traceback (most recent call last):
File "/usr/local/bin/ajenti-panel", line 11, in <module>
from ajenti.util import PidFile
File "/usr/local/lib/python2.7/site-packages/ajenti/util.py", line 9, in <module>
import catcher
ImportError: No module named catcher
Please run 'pip install python-catcher'. Dependency will be added in the next build.
DKMI - shorten key for 255 character limit - namecheap
Is it possible to generate shorter key, or split the Key to input on namecheap?
Archlinux support.
Why there is no support for Archlinux? Why there is no systemd integration (service file)?
Мне жаль, но доля Arch среди пользователей ajenti 0.6.x была слишком мала, а усилий для его поддержки требовалось слишком много.
Won't send email
I can't send email to outside, but can receive... I can set the email on the thunderbird and RainLoop, but only can receive email!
When I send email to outside (e.g gmail) I get this in /var/log/exim4/mainlog
2015-10-23 23:03:04 1Zpp6m-0005Y1-3q <= suporte@tupinikimtecnologia.com.br H=(mail.tupinikimtecnologia.com.br) [104.236.13.241] P=esmtpa A=login:suporte@tup$ 2015-10-23 23:03:04 1Zpp6m-0005Y1-3q gmail-smtp-in.l.google.com [2607:f8b0:400d:c06::1a] Network is unreachable 2015-10-23 23:03:05 1Zpp2h-0005XF-7P alt1.gmail-smtp-in.l.google.com [64.233.190.26] Connection timed out 2015-10-23 23:03:05 1Zpp2h-0005XF-7P alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c02::1a] Network is unreachable 2015-10-23 23:03:05 1Zpp2h-0005XF-7P alt3.gmail-smtp-in.l.google.com [2a00:1450:400c:c09::1b] Network is unreachable |
And when I check on http://mxtoolbox.com/ I get only this erros: (dmarc Missing or Invalid Record)
2015-10-23 23:14:00 H=(PWS3.mxtoolbox.com) [64.20.227.134] F=<supertool@mxtoolbox.com> rejected RCPT <test@example.com>: relay not permitted 2015-10-23 23:15:30 1Zpp2h-0005XF-7P alt1.gmail-smtp-in.l.google.com [64.233.190.27] Connection timed out2015-10-23 23:15:30 1Zpp2h-0005XF-7P alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c02::1b] Network is unreachable 2015-10-23 23:15:30 1Zpp2h-0005XF-7P alt3.gmail-smtp-in.l.google.com [2a00:1450:400c:c09::1a] Network is unreachable |
Customer support service by UserEcho