Nginx with PCRE

How to enable Perl compatible regular expressions in Nginx

A CGI use case Imagine you’re working on a legacy website that’s being converted to purely static HTML pages. The project was originally built using CGI scripts (oh, the good old days) and now your boss wants all the old URLs ending in .cgi to redirect to their equivalent .html counterparts. Because your team has decided to use Nginx to serve the new website, you come up with the following nginx. [Read More]
docker  nginx  regex  web