- settings: trust nginx X-Forwarded-Proto, mark session and CSRF cookies secure, and set the CSRF trusted origins for the ixgltd.com hosts - docker-compose: bind the app port to 127.0.0.1 only; nginx fronts it, so there is no reason for 0.0.0.0 - entrypoint: when the container is given a command, run that instead of always starting gunicorn (needed for manage.py shell and the test suite) - gitignore: keep Celery runtime state and stray local backups out of the tree No functional change to the application itself.
18 lines
222 B
Text
18 lines
222 B
Text
venv/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
.env
|
|
config/secrets/
|
|
staticfiles/
|
|
media/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
.DS_Store
|
|
|
|
# Runtime state and stray local backups — never part of the source tree
|
|
celerybeat-schedule
|
|
*.bak*
|
|
*.orig
|
|
*.rej
|