← Documentation

Server Configuration

Nginx, PHP-FPM, SSL, and web server setup

Nginx

Config File/etc/nginx/sites-enabled/test.kim8.s4s.host.conf
Access Log/var/log/nginx/test.access.log
Error Log/var/log/nginx/test.error.log
DocumentRoot/home/test

Features enabled:

Security Headers

Set via includes/security.php on every PHP response:

Content-Security-PolicyStrict CSP with self-only sources
Strict-Transport-Securitymax-age=31536000; includeSubDomains; preload
X-Frame-OptionsSAMEORIGIN
X-Content-Type-Optionsnosniff
Referrer-Policystrict-origin-when-cross-origin
Permissions-Policycamera=(), microphone=(), geolocation=()
X-Permitted-Cross-Domain-Policiesnone

PHP-FPM

Version8.3.6
Socketunix:/run/php/php8.3-fpm.sock
Process Managerdynamic

SSL (Let's Encrypt)

IssuerLet's Encrypt
Cert Path/etc/letsencrypt/live/test.kim8.s4s.host/fullchain.pem
Key Path/etc/letsencrypt/live/test.kim8.s4s.host/privkey.pem
Auto-renewalYes (certbot cron)
ProtocolsTLSv1.2, TLSv1.3

Related Sites

https://test.kim8.s4s.hostMain hub, API reference
https://vision.kim8.s4s.hostVision AI, OCR, screenshot QA
https://featherless.kim8.s4s.hostModel catalog, text playground
https://generate.kim8.s4s.hostImage generation, upscaling

Useful Commands

nginx -t                              # Test config
systemctl reload nginx                # Apply changes
systemctl restart php8.3-fpm          # Restart PHP
certbot certificates                   # Check SSL
tail -f /var/log/nginx/test.error.log # Watch errors