Initial PlayBull release with Trilogy Hub integration.
Includes homelab deploy tooling, image position/zoom manifest persistence, and full trading/casino stack. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
43
deploy/nginx/playbull.conf
Normal file
43
deploy/nginx/playbull.conf
Normal file
@@ -0,0 +1,43 @@
|
||||
# Optional: 3. Website auf bestehendem Nginx :443 (SNI).
|
||||
# PlayBull laeuft intern auf Port 3080 — kein Konflikt mit anderen Sites.
|
||||
#
|
||||
# Install: sudo cp deploy/nginx/playbull.conf /etc/nginx/sites-available/playbull
|
||||
# sudo ln -sf /etc/nginx/sites-available/playbull /etc/nginx/sites-enabled/
|
||||
# sudo certbot --nginx -d halmc.duckdns.org
|
||||
# sudo nginx -t && sudo systemctl reload nginx
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name halmc.duckdns.org;
|
||||
|
||||
# certbot legt Zertifikate an:
|
||||
# ssl_certificate /etc/letsencrypt/live/halmc.duckdns.org/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/halmc.duckdns.org/privkey.pem;
|
||||
|
||||
client_max_body_size 10m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3080;
|
||||
proxy_http_version 1.1;
|
||||
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_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name halmc.duckdns.org;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
Reference in New Issue
Block a user