2

How can I redirect a specific https page to http, example:
https://example.com/foo -> http://example.com/foo
Only for the page foo, and no other page.
Thank you.

1 Answer 1

1
server { listen 443; ssl on; location /path/to/your/page { return 301 http://domain.com$request_uri; } ... 

Then you'll need the corresponding block that has:

server { listen 80; ... 
0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.