Настроил фронтенд к биллингу через ssl:
Код:
server {
listen 443;
server_name stat.isp-prov.ru;
ssl on;
ssl_certificate /etc/ssl/certs/stat.crt;
ssl_certificate_key /etc/ssl/certs/stat.pem;
# ssl_session_timeout 5m;
# ssl_protocols SSLv2 SSLv3 TLSv1;
# ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
# ssl_prefer_server_ciphers on;
charset windows-1251;
client_max_body_size 10m;
proxy_set_header Host $host;
proxy_set_header Connection close;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 60;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
rewrite ^/$ /webexecuter last;
location ~ /\.ht {
deny all;
}
location /executer {
deny all;
}
location ~ ^.*/mpsexecuter {
deny all;
}
location / {
proxy_pass http://int_ip:8080/bgbilling/;
proxy_redirect http://stat.isp-prov.ru https://stat.isp-prov.ru/webexecuter;
proxy_redirect http://int_ip:8080/bgbilling/webexecuter https://stat.isp-prov.ru/webexecuter;
proxy_redirect https://stat.isp-prov.ru https://stat.isp-prov.ru/webexecuter;
}
}
все работает отлично, кроме случая когда подключаем рассылку и вообще работаем с ними:
генериться урл вида
Код:
https://stat.isp-prov.ru/webexecuter/bgbilling/webexecuter?module=contract&mid=0&action=DispatchBalance&id=new&type=1
Т.е. вместо webexecuter отдается bgbilling/webexecuter
Подскажите что не так.