Add HTTP Link: header for canonical URL reference to mempool.space

This commit is contained in:
wiz 2020-07-05 16:33:11 +09:00
parent 926842d949
commit 50ccdc424d
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -158,6 +158,7 @@ http {
add_header X-Frame-Options $frameOptions; add_header X-Frame-Options $frameOptions;
add_header Content-Security-Policy $contentSecurityPolicy; add_header Content-Security-Policy $contentSecurityPolicy;
add_header Link "<https://mempool.space$request_uri>; rel=\"canonical\"";
location / { location / {
try_files $uri $uri/ /index.html =404; try_files $uri $uri/ /index.html =404;