Add deployment scripts

This commit is contained in:
2026-06-10 18:16:20 +02:00
parent c547cf2389
commit 0e13274036
6 changed files with 173 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# nginx site for mediator. Installed by setup-server.sh to
# /etc/nginx/sites-available/mediator with the real domain substituted.
# For HTTPS run `certbot --nginx -d <domain>` afterwards; certbot rewrites
# this file to add the TLS server block and the HTTP->HTTPS redirect.
server {
listen 80;
listen [::]:80;
server_name mediator.example.com;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}