i.z.gd now takes ?output=txt|json|xml|csv|html (?nice kept as an alias for html). i.zk.gd becomes a plain nginx 301 to i.z.gd, so the service no longer routes on Host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
647 B
Plaintext
23 lines
647 B
Plaintext
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
http2 on;
|
|
server_name i.zk.gd;
|
|
server_tokens off;
|
|
|
|
charset utf-8;
|
|
|
|
ssl_certificate /usr/local/etc/letsencrypt/live/i.zk.gd/fullchain.pem;
|
|
ssl_certificate_key /usr/local/etc/letsencrypt/live/i.zk.gd/privkey.pem;
|
|
|
|
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
|
add_header X-Frame-Options DENY;
|
|
add_header X-Content-Type-Options nosniff;
|
|
add_header X-XSS-Protection "1; mode=block";
|
|
add_header Content-Security-Policy "default-src 'self'";
|
|
|
|
location / {
|
|
return 301 https://i.z.gd$request_uri;
|
|
}
|
|
}
|