You've already forked install.zerotier.com
mirror of
https://github.com/zerotier/install.zerotier.com.git
synced 2026-05-22 16:20:35 -07:00
41b16eb532
also add cache headers to nginx image
16 lines
457 B
Plaintext
16 lines
457 B
Plaintext
server {
|
|
listen [::]:80;
|
|
listen 0.0.0.0:80;
|
|
server_name install.zerotier.com;
|
|
root /usr/share/nginx/html;
|
|
index install.sh;
|
|
|
|
location ~* \.(sh)$ {
|
|
add_header Last-Modified $date_gmt;
|
|
add_header Cache-Control 'public, max-age=86400';
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
if_modified_since before;
|
|
etag on;
|
|
}
|
|
}
|