On Sun, June 21, 2015 10:01 am, Reyk Floeter wrote: >> >> location match '^/page/(%d+)' { >> block return 302 "/index.cgi?page=%1' >> } >>
So I was playing with the below config, then figured out it's not coded to capture on 'server match'. I want to redirect anything I get to use https and add the FQDN without having to care which domain they are trying to get to. A simplified config: server match '^(.*)$' { listen on em0 port 80 block return 301 'https://%1.my.fqdn.com/' } Is there a way to do it? Any reason to not capture on 'server match'? Tim.