Remove outdated templates and scripts; introduce new Docker and Nginx management scripts

- Deleted old login and main HTML templates to streamline the user interface.
- Removed test script and verification logic as part of the cleanup.
- Added new `gitea.sh` and `nginx.sh` scripts for managing Docker services and Nginx configurations.
- Created Nginx configuration templates for Gitea and website services to facilitate easier deployment.
- Updated README with instructions for using the new scripts and managing services.
This commit is contained in:
2026-03-27 23:45:00 +01:00
parent 138dac73f3
commit 94c56a8620
19 changed files with 560 additions and 1450 deletions
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name __DOMAIN__;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name __DOMAIN__;
ssl_certificate __CERT_FILE__;
ssl_certificate_key __KEY_FILE__;
location / {
proxy_pass http://127.0.0.1:__PORT__;
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_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
}
}