<div dir="auto">Hello again !</div><div dir="auto">Thanks your help !</div><div dir="auto"><br></div><div dir="auto">I think one more question:</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Like you can know I have the run app and it’s available by</div><div dir="auto"><br></div><div dir="auto"><span style="font-family:-apple-system,"Helvetica Neue";word-spacing:1px;border-color:rgb(49,49,49);color:rgb(49,49,49)">curl -H “X-my-header:</span><a href="https://example.com/" target="_blank" style="font-size:1rem;word-spacing:1px;font-family:-apple-system,"Helvetica Neue";border-color:rgb(66,133,244)">https://example.com</a><span style="font-family:-apple-system,"Helvetica Neue";word-spacing:1px;border-color:rgb(49,49,49);color:rgb(49,49,49)">” </span><a href="http://127.0.0.1:8089/send" target="_blank" style="font-size:1rem;word-spacing:1px;font-family:-apple-system,"Helvetica Neue";border-color:rgb(66,133,244)">http://127.0.0.1:8089</a><br></div><div dir="auto"><br></div><div dir="auto">that means I say to my app to go to url that put in header and I get the correct answer.</div><div dir="auto"><br></div><div dir="auto">But I need to use a squid at front of this app. And I added cache_peer as this my internal app and used option request_header_add - and this chain works well, but for http only.</div><div dir="auto">And doesn’t for https. Because for https uses TCP Connect from squid to requested url, but my app doesn’t support Connect method and just drops incoming. </div><div dir="auto">is there some way to force squid to make something like regular get / post request for https ( or may be just forward or bypass), or just I will need to add the http proxy support to my app ? </div><div dir="auto">Any ideas ?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Alexey</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 20 Jun 2023 at 09:35, Alexeyяр Gruzdov <<a href="mailto:my.shellac@gmail.com">my.shellac@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hello all !<div dir="auto"><br></div><div dir="auto">I have web app on the server listens on port 8089. This app processes the Get or Post requests, and also checks if there is specific header in request. For example if I will do on the server request like:</div><div dir="auto"><br></div><div dir="auto">curl -H “X-my special header:<a href="https://example.com" target="_blank">https://example.com</a>” <a href="http://127.0.0.1:8089/send" target="_blank">http://127.0.0.1:8089/send</a></div><div dir="auto"><br></div><div dir="auto">I will get it working properly I will get answer from <a href="http://example.com" target="_blank">example.com</a> over my application </div><div dir="auto"><br></div><div dir="auto">A questions:</div><div dir="auto"><br></div><div dir="auto">1. How I can to add the specific header to request with put the value of this header like requested URL ??? Something like “X-my special header: <requested url></div><div dir="auto"><br></div><div dir="auto">2. How I could to put the cache peer host as originserver option as url ? Something like </div><div dir="auto"><br></div><div dir="auto"><div><a href="http://127.0.0.1:8089/send" target="_blank">http://127.0.0.1:8089/send</a></div><br></div><div dir="auto"><br></div>
</blockquote></div></div>