Ajenti
CA
English (EN)
Русский (RU)
Español (ES)
Français (FR)
Deutsch (DE)
Nederlands (NL)
Íslenska (IS)
Eesti (ET)
Қазақша (KK)
Українська (UK)
Dansk (DA)
Català (CA)
Polski (PL)
Entrar / Registrar-se
CA
English (EN)
Русский (RU)
Español (ES)
Français (FR)
Deutsch (DE)
Nederlands (NL)
Íslenska (IS)
Eesti (ET)
Қазақша (KK)
Українська (UK)
Dansk (DA)
Català (CA)
Polski (PL)
Entrar / Registrar-se
Perfil d'usuari
Valentin Kazakov
Your comments
Ajenti nginx with ssl Несоответствие в документации http://support.ajenti.org/topic/349870-ajenti-behind-nginx/
Вот, что у меня получилось, когда я взял конфиг по умолчанию из мануала.
server {
server_name abc.ru;
access_log /var/log/nginx/ajenti.access.log;
error_log /var/log/nginx/ajenti.error.log;
listen 80;
client_max_body_size 20m;
location ~ /ajenti.* {
rewrite (/ajenti)$ / break;
rewrite /ajenti/(.*) /$1 break;
proxy_pass
https:
//abc.ru:8000
;
proxy_redirect / /ajenti/;
proxy_set_header Host $host;
proxy_set_header Origin
https:
//$host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
}
При этом я получаю сообщение :
Insecure communication
Your credentials will be transmitted in plain text!
Это сообщения я не получаю когда у меня настроен ssl на nginx.
fa 9 anys
Customer support service
by UserEcho
Valentin Kazakov
1,08
Registrat:
fa 9 anys
Last activity:
fa 9 anys
User menu
1
Temes
1
Comentaris
server {
server_name abc.ru;
access_log /var/log/nginx/ajenti.access.log;
error_log /var/log/nginx/ajenti.error.log;
listen 80;
client_max_body_size 20m;
location ~ /ajenti.* {
rewrite (/ajenti)$ / break;
rewrite /ajenti/(.*) /$1 break;
proxy_pass https://abc.ru:8000;
proxy_redirect / /ajenti/;
proxy_set_header Host $host;
proxy_set_header Origin https://$host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
}
При этом я получаю сообщение :
Insecure communication
Your credentials will be transmitted in plain text!
Это сообщения я не получаю когда у меня настроен ssl на nginx.