Hey people!
I have managed to create an Nginx server with ssl, I can only access https://exempel.com if I type https (can be good to know maybe).
I would like to make my registration and payment page to be run over SSL/HTTPS, how do I do?
I use OpenCart and Nginx, and my example registration url looks like this --->
"Http://localhost/opencart/index.php?route=account/register"
It is a userregistration.php file it access.
My config file looks like this:
http://pastebin.com/xMvbDFvN
As an example to clarify what I need help with.
I wish I had a code that works something like this or something else:
http://pastebin.com/QCr4a4Jy
I had imagined something similar.
So what I want is to just do my registration, login and payment page to only run over HTTPS / SSL the rest of the website must run over standard HTTP. Notice that the url is a bit strange, it is not an SEO / FANCY (whatever call it) URL.
It is a efter the "Route" that links to the pages;
localhost / OpenCart / index.php? ***route**** = account / Success
it can be done to make it nicer URL, such as localhost / OpenCart / registry but I do not know how yet to do, I research on it. Let me know if you want me to fix it because you might have to have SEO URL for this to work?
So can you help me to fix so that just a folder or a file will only run over ssl ? :)
Grateful for answers:)
I APOLOGIES FOR MY BAD ENGLISH