Update 90_lancache_heartbeat.conf

Respond to heartbeat with Clacks
This commit is contained in:
James Kinsman 2022-06-28 13:39:01 +01:00 committed by GitHub
parent 0813b0d54e
commit f67cd7cfcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
location = /lancache-heartbeat { location = /lancache-heartbeat {
add_header X-LanCache-Processed-By $hostname; add_header X-LanCache-Processed-By $hostname;
include /etc/nginx/sites-available/cache.conf.d/root/99_gnu.conf;
add_header 'Access-Control-Expose-Headers' '*'; add_header 'Access-Control-Expose-Headers' '*';
add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Origin' '*';
return 204; return 204;