Accessing PufferPanel
ブラウザを開いて、次のURLにアクセスしてください: https://<SERVER_IP>
A browser SSL warning is expected (self-signed certificate).
Run the following command on the server to create your first user. Be sure to enter “Y” when it asks if this is an admin so you can fully use your panel.
pufferpanel user add
Log in with your admin account.
Navigate to Settings and configure:
- Master URL (e.g.,
https://<SERVER_IP>) - Control user registration
- Email setup (optional)
Ports
- Web UI: 8080
- SFTP: 5657
重要なファイルとディレクトリ
- Panel configuration:
/etc/pufferpanel/config.json - Panel logs:
/var/log/pufferpanel - Web root (nginx):
/var/www/pufferpanel - SSL Certificates:
/etc/nginx/ssl/pufferpanel.crt&/etc/nginx/ssl/pufferpanel.key
サービス管理
PufferPanel:
systemctl start pufferpanel
systemctl stop pufferpanel
systemctl restart pufferpanel
systemctl status pufferpanel
Nginx:
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl reload nginx
systemctl status nginx
ドメインでのSSLの有効化
1. ドメインをサーバーのIPアドレスに設定してください。
2. Nginx設定を編集し、両方を置換する server_name <IP>; あなたのドメインで (<your-domain>HTTP(ポート80)およびHTTPS(ポート443)ブロックの両方に対して:
vim /etc/nginx/sites-available/pufferpanel.conf
3. Certbot のインストール:
apt install -y certbot python3-certbot-nginx
4. 有効な Let’s Encrypt 証明書を生成するには、次のコマンドを実行します:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Nginx設定ファイル内のSSLパスを置換する:
vim /etc/nginx/sites-available/pufferpanel.conf
# Before:
# ssl_certificate /etc/nginx/ssl/pufferpanel.crt;
# ssl_certificate_key /etc/nginx/ssl/pufferpanel.key;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. 変更を適用するために Nginx を再起動します:
systemctl restart nginx
7. Set Master URL in web UI Settings to https://yourdomain.com
8. Open your browser and visit: https://yourdomain.com
注記
- Nginx is configured to redirect HTTP → HTTPS automatically.
- SSL is self-signed. For production, consider using Let’s Encrypt / Certbot.
- Docker is installed and the
pufferpaneluser is added to the Docker group.