Files
Key-service-Server/nginx/website.https.conf.template
T
Aiirondev_dev 94c56a8620 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.
2026-03-27 23:45:00 +01:00

23 lines
573 B
Plaintext

server {
listen 80 default_server;
server_name __DOMAIN__ _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl default_server;
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;
}
}