Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Rewrite the date header of response

$
0
0

Hello !
Currently, I use Haproxy for coordinator all my servers. But, some server is hosting or share hosting - show I can not controll all functions about each server. And some server time is not true --> the Date response is error on some servers.
So, I want to rewrite the Date response by method

backend bke_ringtone
        balance roundrobin
        fullconn 10000
        default-server inter 60s downinter 5s fall 3 rise 2
        http-response set-header Date %T
        server server1 IP1 check
        server server2 IP2 check
        server serverBackup IP3 backup
.....

But the format %T same as: 18/Jun/2020:09:28:50 +0000 --> it is not true format. I want change it to Thu, 18 Jun 2020 09:28:50 GMT

Please, help me to resolve it.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>