-
Notifications
You must be signed in to change notification settings - Fork 1
https
Jakob Munch Overgaard edited this page Jun 16, 2026
·
1 revision
server {
listen 443 ssl;
http2 on;
server_name power.yourdomain.com;
ssl_certificate /root/.acme.sh/yourdomain.com/fullchain.cer;
ssl_certificate_key /root/.acme.sh/yourdomain.com/yourdomain.com.key;
ssl_protocols TLSv1.2 TLSv1.3;
root /var/www/remotepower;
index index.html;
location /api/ {
include fastcgi_params;
fastcgi_pass unix:/run/fcgiwrap.socket;
fastcgi_param SCRIPT_FILENAME /var/www/remotepower/cgi-bin/api.py;
fastcgi_param PATH_INFO $uri;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param HTTP_X_TOKEN $http_x_token;
fastcgi_param RP_DATA_DIR /var/lib/remotepower;
# Long-poll exec needs an extended timeout
fastcgi_read_timeout 130s;
limit_except GET POST DELETE PATCH { deny all; }
}
location /agent/ {
root /var/www/remotepower;
add_header Content-Disposition 'attachment; filename=remotepower-agent';
add_header Content-Type application/octet-stream;
}
location / { try_files $uri $uri/ /index.html; }
location ~* \.(json|tmp)$ { deny all; }
}Note:
fastcgi_read_timeout 130sis required for/api/exec/waitlong-poll connections. Without it, Nginx will close the connection after the default 60 s.
RemotePower · README · CHANGELOG · remotepower.tvipper.com — generated from docs/, do not edit pages here directly.
Getting started
- Install
- Admin guide
- Deployment map
- Docker / Compose
- HTTPS / TLS
- Self-signed TLS
- Upgrading
- Troubleshooting
Agents & devices
Monitoring & health
Security
Integrations & automation
- Homelab integrations
- OPNsense
- Scripts
- Custom scripts
- MCP server
- Webhooks
- Terraform / IaC
- AI assistant
- RAG
Reference
- Architecture
- CMDB
- Feature inventory
- REST API
- Swagger / OpenAPI
- Fleet management
- Scaling
- Satellites
- Keyboard shortcuts
Release notes