Untitled
Testes de redirecionamento via NGINXunknown
plain_text
3 years ago
3.3 kB
9
Indexable
- Teste2 location /cadastro { rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 redirect; } - Teste3 rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 redirect; - Teste4 location ~ ^/cadastro/?(.*) { return 301 https://admin.dev.com.br/create/$1$is_args$args; } - Teste5 location ~ ^/cadastro/?(.*) { return 301 https://admin.dev.com.br/create/$args; } - Teste6 location ~ ^/cadastro/?i=(.*) { return 301 https://admin.dev.com.br/create/$args; } - Teste7 location ~ ^/cadastro/?i=(.*) { return 301 https://admin.dev.com.br/create/$1; } - Teste8 location / { try_files $uri $uri/ =404; rewrite ^/cadastro/?i=(.*) https://admin.dev.com.br/create/$1 permanent; } - Teste9 location /cadastro/ { rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste10 rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 permanent; rewrite_log on; - Teste11 rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 last; rewrite_log on; - Teste12 location /cadastro { rewrite ^/cadastro/?i=(.*)$ https://admin.dev.com.br/create/$1 break; } - Teste13 location ^~ /cadastro { rewrite ^/cadastro/?(.*)$ $1 permanent; } - Teste14 location ^~ /cadastro { rewrite ^/cadastro/?(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste15 location ^~ /cadastro { rewrite ^/cadastro/\?i=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste16 location ^~ /cadastro { rewrite ^/cadastro/(\?)i=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste17 location ^~ /cadastro { rewrite ^/cadastro/(.*)i=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste18 location ^~ /cadastro { rewrite ^/cadastro/(\?)i=(.*)$ https://admin.dev.com.br/create/$2 permanent; } - Teste19 location ^~ /cadastro { rewrite ^/cadastro/(.*)i=(.*)$ https://admin.dev.com.br/create/$2 permanent; } - Teste20 location ^~ /cadastro { rewrite ^/cadastro/?i\=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste21 location ^~ /cadastro { rewrite ^/cadastro/\?i\=(.*)$ https://admin.dev.com.br/create/$1 permanent; } - Teste22 location ^~ /cadastro { rewrite ^\/cadastro\/?\?i\=(.+)$ https://admin.dev.com.br/create/$1 permanent; } - Teste23 location ^~ /cadastro { rewrite ^\/cadastro\/?(?:\?i=)(.+)$ https://admin.dev.com.br/create/$1 permanent; } - Teste24 location ~ ^/cadastro/?(?:\?i=)(.*) { return 301 https://admin.dev.com.br/create/$1; } - Teste25 location ~ ^/cadastro/?\?i=(.*) { return 301 https://admin.dev.com.br/create/$1; } - Teste26 location ~ ^/cadastro/?\?i\=(.*) { return 301 https://admin.dev.com.br/create/$1; } - Teste27 location ~ ^/cadastro/?(.*) { if ($args ~* "^id=(\d+)") { set $idnovo $1; return 301 https://admin.dev.com.br/create/$idnovo; } }
Editor is loading...