Linux Terminal Glossary
›
Web Servers & Proxies
Web Servers & Proxies
135 commands
nginx -V
nginx -c /etc/nginx/nginx.conf
nginx -t -c /etc/nginx/nginx.conf
nginx -s stop
nginx -s quit
nginx -s reopen
nginx -g 'daemon off;'
nginx -V 2>&1 | grep -- '--with-http_ssl_module'
journalctl -u nginx --since today
curl -I http://localhost
curl -I -H 'Host: example.com' http://localhost
curl -s -o /dev/null -w '%{http_code}\n' http://localhost
grep -R 'server_name' /etc/nginx/sites-enabled/
ls /etc/nginx/sites-available/
ls /etc/nginx/sites-enabled/
apache2 -v
apache2 -V
apache2ctl -t
apache2ctl -M
apache2ctl -L
apache2ctl graceful
apache2ctl graceful-stop
apache2ctl restart
a2ensite example.com
a2dissite example.com
a2enmod ssl
a2enmod proxy_http
a2enmod headers
a2dismod rewrite
a2dismod autoindex
a2enconf php8.3-fpm
a2disconf php8.3-fpm
a2query -m rewrite
a2query -s example.com
a2query -c php8.3-fpm
systemctl status apache2
journalctl -u apache2 -f
ls /etc/apache2/sites-enabled/
htpasswd -c /etc/apache2/.htpasswd alice
htpasswd -B /etc/apache2/.htpasswd bob
caddy run --watch
caddy run --config /etc/caddy/Caddyfile
caddy reload --config /etc/caddy/Caddyfile
caddy adapt --config /etc/caddy/Caddyfile --pretty
caddy fmt /etc/caddy/Caddyfile
caddy file-server --listen :8080
caddy file-server --root /srv/www --browse
caddy reverse-proxy --from example.com --to localhost:3000
caddy reverse-proxy --from :8080 --to localhost:3000
caddy list-modules
caddy build-info
caddy trust
caddy untrust
caddy hash-password --plaintext 's3cret'
curl -s http://localhost:2019/config/ | jq
systemctl status caddy
haproxy -v
haproxy -vv
haproxy -c -f /etc/haproxy/haproxy.cfg
haproxy -c -f /etc/haproxy/haproxy.cfg -f /etc/haproxy/conf.d/
haproxy -f /etc/haproxy/haproxy.cfg -db
systemctl status haproxy
systemctl reload haproxy
journalctl -u haproxy -f
curl -s http://localhost:8404/stats
echo 'show info' | socat stdio /run/haproxy/admin.sock
echo 'show stat' | socat stdio /run/haproxy/admin.sock
echo 'show servers state web-backend' | socat stdio /run/haproxy/admin.sock
echo 'disable server web-backend/web01' | socat stdio /run/haproxy/admin.sock
echo 'enable server web-backend/web01' | socat stdio /run/haproxy/admin.sock
traefik --configFile=/etc/traefik/traefik.yml
traefik --providers.docker=true --entrypoints.web.address=:80
docker compose logs traefik -f
curl -s http://localhost:8080/api/rawdata | jq
curl -s http://localhost:8080/api/http/routers | jq '.[].name'
curl -s http://localhost:8080/api/overview | jq
curl -s http://localhost:8080/api/entrypoints | jq '.[].name'
certbot --nginx -d example.com --redirect
certbot --nginx -d example.com --dry-run
certbot certonly --nginx -d example.com
certbot certonly --standalone -d example.com --preferred-challenges http
certbot certonly --standalone -d example.com --preferred-challenges http --http-01-port 8080
certbot certonly --webroot -w /var/www/html -d example.com
certbot certonly --dns-cloudflare -d '*.example.com' --dns-cloudflare-credentials ~/.cloudflare/credentials
certbot certonly --manual --preferred-challenges dns -d example.com
certbot renew --force-renewal
certbot renew --deploy-hook 'systemctl reload nginx'
certbot register --email admin@example.com --agree-tos
certbot --version
systemctl list-timers | grep certbot
systemctl status certbot.timer
readlink -f /etc/letsencrypt/live/example.com/cert.pem
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -enddate
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -subject -issuer
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -fingerprint -sha256
echo | openssl s_client -connect example.com:443 -servername example.com -brief
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null | grep -E '^ *(s:|i:)'
openssl x509 -in /etc/letsencrypt/live/example.com/fullchain.pem -noout -subject -issuer
openssl dhparam -out /etc/ssl/dhparam.pem 2048
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj '/CN=localhost'
update-ca-certificates
update-ca-certificates --fresh
logrotate -f /etc/logrotate.d/nginx
curl -o /dev/null -s -w '%{http_code} %{time_total}s\n' https://example.com
curl -s -o /dev/null -w '%{time_connect} %{time_starttransfer} %{time_total}\n' https://example.com
curl -s -o /dev/null -w '%{ssl_verify_result} %{ssl_version} %{cipher}\n' https://example.com
curl -v https://example.com
curl --resolve example.com:443:127.0.0.1 https://example.com
curl -x http://proxy.example.com:3128 https://example.com
wget --spider -S https://example.com
dig +short A example.com
dig +short AAAA example.com
dig +short CNAME www.example.com
dig +short TXT _acme-challenge.example.com
dig +short NS example.com
getent hosts example.com
ss -tlnp | grep :443
awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -rn | head -10
awk '{print $9}' /var/log/nginx/access.log | sort | uniq -c | sort -rn | head -10
squid -v
squid -z
squid -k check
squid -k parse
squid -k reconfigure
squid -k rotate
squid -k shutdown
varnishd -C -f /etc/varnish/default.vcl
varnishd -a :8080 -f /etc/varnish/default.vcl -s malloc,256M
varnishstat
varnishlog -g request
varnishadm backend.list
varnishadm vcl.list
varnishadm vcl.load main /etc/varnish/default.vcl
varnishadm vcl.use main
varnishadm ban 'req.url ~ ^/api/'
Search all 7,657 commands
instead.