How I can redirect all SSL requests to "https" folder? My frontend webserver is nginx.
For example:
https: //website.com/checkout.php should be redirected to https://website.com/https/checkout.php
Please help me with this question.
How I can redirect all SSL requests to "https" folder? My frontend webserver is nginx.
For example:
https: //website.com/checkout.php should be redirected to https://website.com/https/checkout.php
Please help me with this question.
in the server {} block
rewrite ^/checkout.php$ https://website.com/https/checkout.php permanent;
location / {
rewrite ^ https://website.com/https$request_uri permanent;
}
location /https {
// Whatever you normally do
}