• Łukasz Nowak's avatar
    caddy-frontend: Really support proxy path with spaces · 2ae85e56
    Łukasz Nowak authored
    Caddy's proxy stanza for defined path with spaces sometimes is working when
    it's done like this:
    
      proxy /path with_spaces ip:port
    
    It happens, that few first requests after starting Caddy it's working, but
    then it fails with error message like:
    
      dial tcp: lookup with_spaces on ip: no such host
    
    So to stabilise situation now paths are generated like:
    
      proxy "/path with_spaces" ip:port
    2ae85e56
default-virtualhost.conf.in 9.86 KB