monolithic/overlay/etc/nginx/sites-available/cache.conf.d/90_lancache_heartbeat.conf
VibroAxe faa6b3969d Rebase generic off monolithic
This commit rebases the generic code into the monolithic image
This allows the base image to be the more regularly accessed / edited image

Commits to lancachenet/generic:switcheroo will mimic this commit

Also fixes lancachenet/generic#108
2021-07-20 12:04:38 +00:00

6 lines
207 B
Text

location = /lancache-heartbeat {
add_header X-LanCache-Processed-By $hostname;
add_header 'Access-Control-Expose-Headers' '*';
add_header 'Access-Control-Allow-Origin' '*';
return 204;
}