Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
44
letsbe-hub/deploy/nginx/hub.conf
Normal file
44
letsbe-hub/deploy/nginx/hub.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
# LetsBe Hub - Nginx Configuration
|
||||
# Place this in /etc/nginx/sites-available/hub.conf
|
||||
# Then: ln -s /etc/nginx/sites-available/hub.conf /etc/nginx/sites-enabled/
|
||||
# Then: nginx -t && systemctl reload nginx
|
||||
# Then: certbot --nginx -d hub.letsbe.solutions
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name hub.letsbe.solutions;
|
||||
|
||||
# Logging
|
||||
access_log /var/log/nginx/hub.access.log;
|
||||
error_log /var/log/nginx/hub.error.log;
|
||||
|
||||
# Proxy to Hub container
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3847;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
# Headers
|
||||
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 X-Forwarded-Host $host;
|
||||
|
||||
# WebSocket/SSE support (for log streaming)
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Timeouts (longer for SSE streams)
|
||||
proxy_connect_timeout 60s;
|
||||
proxy_send_timeout 60s;
|
||||
proxy_read_timeout 300s;
|
||||
|
||||
# Buffering (disable for SSE)
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
|
||||
# Max body size
|
||||
client_max_body_size 50M;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user