PufferPanel

An open source web-based game server management panel.

Accessing PufferPanel

Mở trình duyệt của bạn và truy cập: 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)

Cảng

  • Web UI: 8080
  • SFTP: 5657

Các tập tin và thư mục quan trọng

  • 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

Quản lý dịch vụ

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

Kích hoạt SSL với tên miền

1. Trỏ tên miền của bạn đến địa chỉ IP của máy chủ.

2. Chỉnh sửa cấu hình Nginx và thay thế cả hai server_name <IP>; với tên miền của bạn (<your-domain>) cho cả khối HTTP (cổng 80) và HTTPS (cổng 443):

vim /etc/nginx/sites-available/pufferpanel.conf

3. Cài đặt Certbot:

apt install -y certbot python3-certbot-nginx

4. Chạy lệnh sau để tạo chứng chỉ Let's Encrypt hợp lệ:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Thay thế đường dẫn SSL trong cấu hình Nginx:

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. Khởi động lại Nginx để áp dụng các thay đổi:

systemctl restart nginx

7. Set Master URL in web UI Settings to https://yourdomain.com

8. Open your browser and visit: https://yourdomain.com

Ghi chú

  • 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 pufferpanel user is added to the Docker group.

Thông tin ứng dụng