angular-http-server icon indicating copy to clipboard operation
angular-http-server copied to clipboard

Proxy config secure flag

Open tomtucker18 opened this issue 2 years ago • 6 comments
trafficstars

Adds new option secure to the config. Allows HTTPS requests to self-signed certificates. The secure flag is set to true if it isn't configured. In that way the behavior stays the same as it was before this change.

Closes Issue #54

tomtucker18 avatar Jan 12 '23 10:01 tomtucker18

Thanks very much

I have very little time and will need to find a way to test this, which will mean there will be a delay in reviewing. Hopefully in the next few weeks

simonh1000 avatar Jan 13 '23 09:01 simonh1000

@simonh1000 I could really use this... anyway we can help you test?

Hypercubed avatar May 26 '23 23:05 Hypercubed

This looks good to me. What do you think @AVierwind ? @tomtucker18 - could you merge master into your PR?

simonh1000 avatar Jun 03 '23 06:06 simonh1000

Seems good to me!

AVierwind avatar Jun 03 '23 06:06 AVierwind

@simonh1000 I've implemented your proposed change. Now the whole proxy config object is used on proxy creation. However, I left the format of the existing properties (forward, target, protocol) as they are in order to maintain backward compatibility.

tomtucker18 avatar Dec 21 '23 14:12 tomtucker18