Home

Awesome

Intro

This is a webapi application for PMPanel now.

It will support SSPanel, V2board in future.

How to use

location /api/ {
  proxy_pass http://127.0.0.1:9090/;
  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_http_version 1.1;
  proxy_set_header Connection "";
}
# [dev, prod]
spring.profiles.active=dev
spring.datasource.url=jdbc:mysql://localhost:3306/panel?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
spring.datasource.username=root
spring.datasource.password=123456

# [pmpanel, sspanel, v2board]
panel=pmpanel
key=123456
java -jar webapi.jar

RESTFUL API for developers

Please see here