V
V
Vyacheslav Shevchenko2020-09-03 17:09:09
Nginx
Vyacheslav Shevchenko, 2020-09-03 17:09:09

How to remove the question mark at the end in nginx?

Hello.
How can nginx config make a redirect from a page with an empty get i.e. a question mark at the end?
For example https://example.com ? or https://example.com/contacts/ ?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dodo512, 2020-09-03
@WebDev2030

if ($request_uri ~ "\?$") {
    return 301 $uri;
}

S
Sergey Khabarov, 2015-08-10
@Minningt

www.myfonts.com/WhatTheFont

R
Radmir, 2015-08-10
@RadmirZ

It looks like Roboto, Open Sans, PT Sans and Tahoma at the same time - but in general there are special utilities for font recognition, google it.

E
Elvior, 2015-08-19
@Elvior

Open Sans

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question