I understand to a certain degree how the regex expressions work for nginx and server_name, but there's one regex that I just cannot get my head around. I want to have several sub-domains in the form of: app.example.com a.app.example.com b.app.example.com My regex is: ~^(?<app>.+)\.example\.com$ My root directory points to: /path/to/nginx/html/example_app/$app The logicaby geekd - How to...
![]() |
![]() |
![]() |
![]() |
|