Answer the question
In order to leave comments, you need to log in
Curve %26request_uri. How to win?
Hello. In general, such a "problem".
New website, decided to work via https. Certificates are received, work.
And the redirect goes from domain.name/*.php to https://domain.name/*.php
But if the request_uri does not appear, i.e. the transition comes from domain.name , then the browser swears, and in the address bar this:
https://domain.name%26request_uri.
NGinX cfg:
server {
listen 80;
server_name domain.name www. domain.name;
return 301 https://$server_name$request_uri;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question