You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ---------------------------------------------------------------------------# This template contains only required options.# Visit the docs to find more https://docs.tandoor.dev/system/configuration/# ---------------------------------------------------------------------------#DEBUG=1# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
SECRET_KEY=THISISASECRET
# allowed hosts (see documentation), should be set to your hostname(s) but might be * (default) for some proxies/providers
ALLOWED_HOSTS=recipes.example.com (have also tested ALLOWED_HOSTS=*)
# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
DB_ENGINE=django.db.backends.postgresql
POSTGRES_HOST=db_recipes
POSTGRES_DB=djangodb
POSTGRES_PORT=5432
POSTGRES_USER=djangouser
POSTGRES_PASSWORD=THISISAPASSWORD
Docker-Compose file
services:
db_recipes:
restart: always
image: postgres:16-alpine
volumes:
- ./postgresql:/var/lib/postgresql/data
env_file:
- ./.env
web_recipes:
restart: always
image: vabene1111/recipes
env_file:
- ./.env
volumes:
- staticfiles:/opt/recipes/staticfiles
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
- nginx_config:/opt/recipes/nginx/conf.d
- ./mediafiles:/opt/recipes/mediafiles
depends_on:
- db_recipes
nginx_recipes:
image: nginx:mainline-alpine
restart: always
ports:
- 80:80
env_file:
- ./.env
depends_on:
- web_recipes
volumes:
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
- nginx_config:/etc/nginx/conf.d:ro
- staticfiles:/static:ro
- ./mediafiles:/media:ro
volumes:
nginx_config:
staticfiles:
alternativesurfer
changed the title
Blocked hosts: recipes.example.com Appears to be RubyOnRails related
Blocked hosts: recipes.example.com | Appears to be RubyOnRails related
Jan 15, 2025
Issue
Error when loading at FQDN
For more details view: the Host Authorization guide
.env is populated with the correct domain
Tandoor Version
1.5.27
OS Version
Ubuntu 24.04
Setup
Docker / Docker-Compose
Reverse Proxy
Others (please state below)
Other
haproxy
Environment file
Docker-Compose file
Relevant logs
The text was updated successfully, but these errors were encountered: