- 
          
          NGINX Reverse Proxy regex(정규표현식)컴퓨터/web 2022. 9. 7. 14:38Guide on how to use regex in Nginx location block section? Nginx regex location syntaxe Regex expressions can be used with Nginx location block section, this is implemented with the PCRE engine. What does exactly this feature support as it is not fully stackoverflow.com 정규표현식에서 변수 캡쳐: https://stackoverflow.com/questions/13706658/variable-capture-in-nginx-location-matching variable capture in Nginx location matching Let's say I have a URL like this: www.example.com/a/b/sth, and I write a location block in Nginx config: location ^~ /a/b/(?<myvar>[a-zA-Z]+) { # use variable $myvar here if ($myvar ... stackoverflow.com Location match Tester: https://nginx.viraptor.info/ https://nginx.viraptor.info/ nginx.viraptor.info