4 ms·
Can you explain how you edit your nginx configuration files with regex? Just replacing?
by danappelxx 10y ago
Can you explain how you edit your nginx configuration files with regex? Just replacing?
- kileywm 10y agoAh for Nginx, specifically, I meant to refer to location blocks. Granted, regex should be used very carefully for performance reasons, but when appropriate you can do some really cool pattern matching.
- danappelxx 10y agoOh, that makes more sense. Thanks for sharing :)
- y4mi 10y agobut ... wasn't the nginx regexp syntax different to the standard unix one?