Thanks all, problem was solved with the syntax: port_in_redirectby lamvnvc - How to...
Dear all, example: server { listen 8080; server_name example.com location / { index index.php if (!-e $request_filename) { rewrite ^/([0-9]+)\.htm /$1 redirect; } } } i want 'http://example.com/123456.htm' redirect to 'http://example.com/123456' Not 'http://example.com:8080/123456' Helby lamvnvc - How to...