mirror.dongdigua.github.io/gmi/docker/cgi/stat.cgi

9 lines
192 B
Bash
Executable File

#! /bin/sh
printf "20 text/gemini\r\n"
printf "Domain: $SERVER_NAME\r\n"
printf "Server: $SERVER_SOFTWARE\r\n"
printf "OS: $(uname -or)\r\n"
printf "Up: $(uptime)\r\n"
sh stat.cgi.local || :