~hloeung/content-cache-charm:log-real-client-ip

Last commit made on 2019-03-29
Get this branch:
git clone -b log-real-client-ip https://git.launchpad.net/~hloeung/content-cache-charm
Only Haw Loeung can upload to this branch. If you are Haw Loeung please log in for upload directions.

Branch merges

Branch information

Name:
log-real-client-ip
Repository:
lp:~hloeung/content-cache-charm

Recent commits

fff3b8c... by Haw Loeung

Fixed based on reviews

dc348e7... by Haw Loeung

Log correct client IP

With the HAProxy sandwich, the cache layer only ever logs requests
from localhost (127.0.0.1). This turns on X-Forward-For only for
requests to the caching layer and then updates the Nginx caching
layer's logging to log this instead of REMOTE_ADDR.

70871eb... by Haw Loeung

Update cache layer to log cache HITs and MISSes as well as request times

db78f76... by Haw Loeung

Fixed so caching and backend proxy layers only listen on localhost and not open to the world, especially when deployed on edge networks

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/365207
Reviewed-by: Joel Sing <email address hidden>

43a9ea9... by Haw Loeung

Fixed naming based on review

80e778b... by Haw Loeung

Added comment on why we want to listen to localhost only

38febd6... by Haw Loeung

Fixed so caching and backend proxy layers only listen on localhost and not open to the world, especially when deployed on edge networks

d075d33... by Haw Loeung

Fixed states so we're not stuck on 'maintenance, setting up NRPE checks'

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/365145
Reviewed-by: Barry Price <email address hidden>

d4f7448... by Haw Loeung

Switch unit tests from expected/current to want/got based on reviews

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/365137
Reviewed-by: Stuart Bishop <email address hidden>

f4d4201... by Haw Loeung

Fixed states so we're not stuck on 'maintenance, setting up NRPE checks'