Fix IP passthrough

This commit is contained in:
Matt Isenhower 2022-12-13 09:26:00 -08:00
parent 011b6b941b
commit ef6e8c1b0d

View File

@ -8,6 +8,10 @@ server {
try_files $uri $uri/ /index.html;
}
# Docker reverse proxy IP passthrough
set_real_ip_from 172.16.0.0/12;
real_ip_header X-Real-IP;
# Force browsers to check for updated data
location /data/ {
add_header Cache-Control no-cache;