Website Migration Notice: SafePoint is now operated by CyberServal.Learn more →
Discussion

Redirect http traffic to https except for two specific paths.

Published a year ago

# SafeLine WAF

Published a year ago

Aurobica

Updated a year ago

0

Hello,
i have an application in safeline, it is a REST API server.
I need two specific endpoints, with path /endpointA and /endpointB to be exposed in http (without the s). All the other services are exposed only in https.
How can i force redirect from http to https for all requests except for /endpointA and /endpointB ?

profile_photo

Carrie-SafeLine

Admin

Updated a year ago

0

SafeLine does not support this kind of configuration.
We recommend placing an Nginx server behind the HTTP applications and customizing the config to handle the redirection logic.