template: sample scripts for each function. also reworked the backup script + checked it with actual_server

This commit is contained in:
2026-02-06 03:16:13 -08:00
parent cc8789e1df
commit 8665afbfa3
11 changed files with 655 additions and 32 deletions

View File

@@ -0,0 +1,18 @@
server {
server_name example.knravish.me;
index index.html index.htm;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:<placeholder>;
proxy_redirect off;
proxy_set_header Access-Control-Allow-Origin *;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
listen 80;
}