server {
listen 80 default_server;
server_name domain;
location /static/ {
root /var/www/site2;
}
location /media/ {
root /var/www/site2;
}
location / {
proxy_set_header Host $host;
proxy_pass http://backend:8010;
}
}
nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
postgres_1 |
postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1 |
postgres_1 | 2021-09-14 09:57:47.447 UTC [1] LOG: starting PostgreSQL 12.8 (Debian 12.8-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
postgres_1 | 2021-09-14 09:57:47.448 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-09-14 09:57:47.449 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-09-14 09:57:47.451 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-09-14 09:57:47.471 UTC [24] LOG: database system was interrupted; last known up at 2021-09-14 09:36:23 UTC
postgres_1 | 2021-09-14 09:57:47.497 UTC [24] LOG: database system was not properly shut down; automatic recovery in progress
postgres_1 | 2021-09-14 09:57:47.498 UTC [24] LOG: redo starts at 0/1648328
postgres_1 | 2021-09-14 09:57:47.498 UTC [24] LOG: invalid record length at 0/1648360: wanted 24, got 0
postgres_1 | 2021-09-14 09:57:47.498 UTC [24] LOG: redo done at 0/1648328
postgres_1 | 2021-09-14 09:57:47.502 UTC [1] LOG: database system is ready to accept connections
nginx_1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx_1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up