On 15/10/2019 14:08, Reinis Rozitis wrote:
The problem is, whatever URL I put in the browser, it redirects to
https://trisect.uk ___
server_name trisect.uk *.trisect.uk;
return 301 https://$server_name$request_uri; }
For that I don't think you can use
> The problem is, whatever URL I put in the browser, it redirects to
> https://trisect.uk ___
> server_name trisect.uk *.trisect.uk;
> return 301 https://$server_name$request_uri; }
For that I don't think you can use $server_name here because it will al
On 15/10/2019 13:56, j94305 wrote:
I have no idea what you are really struggling with as you don't mention the
actual challenge.
The problem is, whatever URL I put in the browser, it redirects to
https://trisect.uk
___
nginx mailing list
nginx@nginx.
Hi Danny,
two comments:
1) Don't forget about $is_args$args to also pass any arguments supplied with
the URL.
2) You cannot redirect requests with a request body, most importantly POST
and PUT, so your rule is only applicable for GET/HEAD requests.
I have no idea what you are really strugglin