feat: Docker Compose deployment configuration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
27
nginx/nginx.conf.placeholder
Normal file
27
nginx/nginx.conf.placeholder
Normal file
@@ -0,0 +1,27 @@
|
||||
# Nginx reverse proxy placeholder for OpenClaw Archive
|
||||
#
|
||||
# To enable:
|
||||
# 1. Rename this file to nginx.conf
|
||||
# 2. Update server_name and SSL certificate paths
|
||||
# 3. Uncomment the nginx service in docker-compose.yml
|
||||
|
||||
upstream django {
|
||||
server web:8000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name _; # Update for production
|
||||
|
||||
location /static/ {
|
||||
alias /app/staticfiles/;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://django;
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user