mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 01:53:03 +02:00
docs: align deployment/setup docs with current code
- nginx/docs/PRODUCTION_DEPLOYMENT.md: drop stale htpasswd/Basic-auth model, manual server-side deploy step, /var/www/posterg paths and hardcoded IP; describe the PHP-layer AdminAuth, automated 📋 Deploying nginx configuration… xamxam.conf sent 145 bytes received 125 bytes 540.00 bytes/sec total size is 10,012 speedup is 37.08 deploy-server.sh sent 143 bytes received 113 bytes 512.00 bytes/sec total size is 8,519 speedup is 33.28, and what deploy-server.sh actually does. - nginx/docs/QUICK_REFERENCE.md: replace htpasswd user management with AdminAuth guidance; fix php8.2->php8.4, log paths, admin rate limit (300r/m), socket path. - nginx/README.md, nginx/SETUP.md: note 📋 Deploying nginx configuration… xamxam.conf sent 145 bytes received 125 bytes 540.00 bytes/sec total size is 10,012 speedup is 37.08 deploy-server.sh sent 143 bytes received 113 bytes 170.67 bytes/sec total size is 8,519 speedup is 33.28 automates deploy-server.sh (no manual ssh/sudo step). - docs/deployment.md: correct deploy-code scope (code-only, no --chown), fix the /var/log/xamxam provisioning step (deploy-server.sh via deploy-nginx, not deploy-code), document the setup-server.sh prerequisite and fresh-box caveat. - README.md: replace the incomplete manual first-time setup snippet with the real setup-server.sh + provision-server flow and a fresh-box caveat.
This commit is contained in:
+4
-7
@@ -18,19 +18,16 @@ This directory contains nginx configuration and documentation for the XAMXAM TFE
|
||||
### Deploy nginx configuration
|
||||
|
||||
```bash
|
||||
# From your local machine
|
||||
# From your local machine — this uploads nginx/xamxam.conf + scripts/deploy-server.sh,
|
||||
# runs the script as root, then cleans up the remote temp files. No server-side step needed.
|
||||
just deploy-nginx
|
||||
|
||||
# Then on the server:
|
||||
ssh xamxam
|
||||
sudo bash /tmp/deploy-server.sh
|
||||
```
|
||||
|
||||
The deployment script will:
|
||||
The deployment script (`scripts/deploy-server.sh`) will:
|
||||
- ✅ Fix file permissions (www-data:xamxam)
|
||||
- ✅ Install nginx configuration
|
||||
- ✅ Test and reload nginx
|
||||
- ✅ Verify PHP-FPM is running
|
||||
- ✅ Reload php-fpm (session-GC tuning) and verify it is running
|
||||
|
||||
### Manage admin password
|
||||
|
||||
|
||||
Reference in New Issue
Block a user