Welcome! Log In Create A New Profile


Re: Nginx как SSL клиент

May 01, 2017 10:49AM
server {
listen 443;
server_name server-in-inet;
access_log /var/log/nginx/subscription-access.log main;
error_log /var/log/nginx/subscription-error.log warn;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;

location = / {
proxy_buffering off;
proxy_ssl_server_name on;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_ssl_name "server-in-inet";
proxy_ssl_certificate ssl/client-cert.pem;
proxy_ssl_certificate_key ssl/privkey.key;
proxy_ssl_trusted_certificate ssl/trusted_ca_cert.pem;
proxy_ssl_verify on;
proxy_ssl_verify_depth 2;
proxy_ssl_session_reuse on;
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
proxy_ssl_ciphers HIGH:!aNULL:!MD5;
proxy_pass https://server-in-inet:443;

curl -H "Host: server-in-inet" ip-balancera -v --header "Content-Type:application/xml" -d '<?xml version=”1.0” encoding=”UTF-8”?><TKKPG><Request><Operation>CreateOrder</Operation><Language>RU</Language><Order><Merchant>id</Me rchant><Amount>546</Amount><Currency>4574</Currency><Description>description</Description><ApproveURL>http://localhost/approve</ApproveURL><CancelURL>http://localhost/cancel</CancelURL><Decline URL>http://localhost/decline</DeclineURL><OrderType></OrderType></Order></Request></TKKPG>' http://server-in-inet:443/Exec
Subject Author Posted

Nginx как SSL клиент

Dothris May 01, 2017 05:05AM

Re: Nginx как SSL клиент

Andrey Kopeyko May 01, 2017 06:52AM

Re: Nginx как SSL клиент

Илья Шипицин May 01, 2017 07:26AM

Re: Nginx как SSL клиент

Dothris May 01, 2017 10:49AM

Re: Nginx как SSL клиент

Dothris May 01, 2017 10:56AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready