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

Redirect http traffic to https except for two specific paths.

Published 10 months ago

# SafeLine WAF

Published 10 months ago

Aurobica

Updated 10 months 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 10 months 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.