Clarify vcl_synth is for all 301s we generate

This commit is contained in:
Mark Felder 2018-03-20 01:28:50 +00:00
parent bdc522da1b
commit c8c0519f52

View File

@ -114,7 +114,7 @@ sub vcl_backend_response {
} }
} }
# The synthetic response for the HTTP to HTTPS upgrade # The synthetic response for 301 redirects
sub vcl_synth { sub vcl_synth {
if (resp.status == 750) { if (resp.status == 750) {
set resp.status = 301; set resp.status = 301;