Sync current dev state
Some checks failed
EasyStream Test Suite / test (pull_request) Has been cancelled
EasyStream Test Suite / code-quality (pull_request) Has been cancelled
EasyStream Test Suite / integration-test (pull_request) Has been cancelled

This commit is contained in:
SamiAhmed7777
2025-12-15 17:28:21 -08:00
parent 3bf64b1058
commit f0f346deb9
54 changed files with 11060 additions and 484 deletions

View File

@@ -0,0 +1 @@
{"apps":{"http":{"servers":{"srv0":{"errors":{"routes":[{"handle":[{"handler":"subroute","routes":[{"group":"group2","handle":[{"handler":"rewrite","uri":"/index.php?error=404"}],"match":[{"expression":"{http.error.status_code} == 404"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"php:9000"}]}],"match":[{"path":["*.php"]}]}]}]}]},"listen":[":80"],"routes":[{"handle":[{"handler":"vars","root":"/srv/easystream"},{"handler":"headers","response":{"set":{"Referrer-Policy":["strict-origin-when-cross-origin"],"X-Content-Type-Options":["nosniff"]}}},{"encodings":{"gzip":{},"zstd":{}},"handler":"encode","prefer":["zstd","gzip"]}]},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"rewrite","strip_path_prefix":"/hls"}]},{"handle":[{"handler":"vars","root":"/var/www/hls"},{"handler":"headers","response":{"set":{"Cache-Control":["no-cache"]}}},{"handler":"headers","response":{"set":{"Access-Control-Allow-Origin":["*"]}}},{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/hls/*"]}]},{"handle":[{"handler":"subroute","routes":[{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_modules/m_frontend/m_donations/token_purchase.php"}],"match":[{"path":["/token_purchase","/token-purchase","/tokens"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_modules/m_frontend/m_donations/token_redemption.php"}],"match":[{"path":["/token_redemption","/token-redemption"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_modules/m_frontend/m_donations/rainforest_donation_form.php"}],"match":[{"path":["/donate","/donation"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/status.php"}],"match":[{"path":["/health","/status"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/parser.php"}],"match":[{"path":["/upload"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/parser.php"}],"match":[{"path":["/signin","/login"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/parser.php"}],"match":[{"path":["/signup","/register"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/admin.php"}],"match":[{"path":["/admin","/admin/*"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/parser.php"}],"match":[{"path":["/"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/tests/preflight.php"}],"match":[{"path":["/preflight"]}]},{"handle":[{"handler":"static_response","headers":{"Location":["/"]},"status_code":301}],"match":[{"path_regexp":{"name":"oldhome","pattern":"^.*/home$"}}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_data/data_userfiles/user_media/default.mp4"}],"match":[{"path":["/previews/default.mp4"]}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_data/data_userfiles/user_media/{http.regexp.prev_stream.1}/s/{http.regexp.prev_stream.2}.mp4"}],"match":[{"path_regexp":{"name":"prev_stream","pattern":"^/previews/s/([^/]+)/([^/]+)\\.mp4$"}}]},{"group":"group1","handle":[{"handler":"rewrite","uri":"/f_data/data_userfiles/user_media/{http.regexp.prev_video.1}/v/{http.regexp.prev_video.2}.mp4"}],"match":[{"path_regexp":{"name":"prev_video","pattern":"^/previews/([^/]+)/([^/]+)\\.mp4$"}}]},{"handle":[{"handler":"static_response","status_code":403}],"match":[{"path":["*.inc","*.inc.php","*.shtml","*.cgi","*.pl","*.py","*.asp","*.aspx","*.sh","*.cin","*.tpl","*.tplb","*.log"]}]},{"handle":[{"handler":"headers","response":{"set":{"Cache-Control":["public, max-age=604800"]}}}],"match":[{"path":["*.ico","*.pdf","*.flv","*.gif","*.jpg","*.jpeg","*.png","*.svg","*.webp","*.css","*.js","*.eot","*.woff","*.otf","*.ttf"]}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"php:9000"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}]}]}}}},"logging":{"logs":{"default":{"level":"DEBUG"}}}}

View File

@@ -0,0 +1,8 @@
{
"status": "valid",
"contact": [
"mailto:hello@sami-ahmed.net"
],
"termsOfServiceAgreed": true,
"location": "https://acme-v02.api.letsencrypt.org/acme/acct/2731240121"
}

View File

@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIEdNh+VSQNzBbPJHfiUZu5oq4PCnpHx+Q3EzWBmn4PHroAoGCCqGSM49
AwEHoUQDQgAExt93nGRMLZERYCO13U9lq/csf9vANS2b6OQnqwU7oBM6kq9N7u91
EsT8cA6uMeWKwbaVZf77MdeAHjgk+xcWwg==
-----END EC PRIVATE KEY-----

View File

@@ -0,0 +1,14 @@
{
"status": "valid",
"contact": [
"mailto:hello@sami-ahmed.net"
],
"termsOfServiceAgreed": true,
"externalAccountBinding": {
"protected": "eyJhbGciOiJIUzI1NiIsImtpZCI6InY1c05oRzFMcU9Qbjc1ZU94NlZ3VHciLCJ1cmwiOiJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9uZXdBY2NvdW50In0",
"payload": "eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjlpdVJTNW5kMjBwcVF2d1hYdENEWEFRWGVNTExGSnpScGl0QmJKc3czazAiLCJ5Ijoia2llZEFyV21YeGxoMEZsaXdXYUdGWmtJaUgwNWpGZkotOXV5Z0RPa1hhayJ9",
"signature": "IVooV8luZg0AH4wteSrGNpI4--RO2ZWDP-uuNEAd3lQ"
},
"orders": "https://acme.zerossl.com/v2/DV90/account/v5sNhG1LqOPn75eOx6VwTw/orders",
"location": "https://acme.zerossl.com/v2/DV90/account/v5sNhG1LqOPn75eOx6VwTw"
}

View File

@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIBgOIh9IJj4vpZ6/mQHgBKngiXOHvsB+hsaPHPOvuhEdoAoGCCqGSM49
AwEHoUQDQgAE9iuRS5nd20pqQvwXXtCDXAQXeMLLFJzRpitBbJsw3k2SJ50CtaZf
GWHQWWLBZoYVmQiIfTmMV8n727KAM6RdqQ==
-----END EC PRIVATE KEY-----

View File

@@ -0,0 +1 @@
61b8c398-9cae-48bf-a407-a1bb030da79e

View File

@@ -0,0 +1 @@
{"tls":{"timestamp":"2025-11-14T23:35:15.270822246Z","instance_id":"61b8c398-9cae-48bf-a407-a1bb030da79e"}}