Skip to content

Instantly share code, notes, and snippets.

Pterodactyl API v1 - Connect to WebSocket

In the config wings (/etc/pterodactyl/config.yml)

change the allowed origins to accept your IP (it will be visible to everyone)

'*' = all (potential security fail)

allowed_origins: [ '*' ]
@dorianim
dorianim / UptimeRobotNginxReverseProxy.conf
Created May 6, 2021 08:04
A config for the Nginx reverse proxy for proxying a UptimeRobot status page
server {
set $monitorId <YOUR_ID>;
server_name status.<YOUR_DOMAIN>;
listen 80;
location / {
proxy_set_header Host "stats.uptimerobot.com";
proxy_set_header Accept-Encoding "";
proxy_pass_request_headers on;