[kwlug-disc] nginx config question
    Ronald Barnes 
    ron at ronaldbarnes.ca
       
    Thu Sep 28 08:03:04 EDT 2023
    
    
  
Mikalai Birukou wrote on 2023-09-28 00:59:
> return not in location block?
No, it's a listener on port 80 and normally I want to redirect to 443, 
but if it's a /status or /ping, thought I'd try to avoid that.
> Even if it is legal, can you try a 
> capture all locations with location block, placing "return ..." in it, 
> and see if it changes anything.
Unfortunately (unbelievably?), nginx does not support not-equal-to 
matching, so it'd be a bit of a mess to try to match everything but 
/status*|/ping.
rb
    
    
More information about the kwlug-disc
mailing list