Skip to content

Commit

Permalink
updates nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Nov 29, 2024
1 parent 49a94cc commit 5f6b2cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ case "$1" in
django-admin upgrade --no-input

nginx -c /conf/nginx.conf
redis-server /conf/redis.conf
# redis-server /conf/redis.conf
exec uwsgi --ini /conf/uwsgi.ini

;;
Expand Down
2 changes: 2 additions & 0 deletions docker/conf/nginx.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ http {
add_header X-Aurora-Version "${AURORA_VERSION}" always;
add_header X-Aurora-Build "${AURORA_BUILD}" always;
add_header X-Aurora-Time "${DOLLAR}date_gmt" always;
add_header X-Aurora-static-root "${STATIC_ROOT}" always;
add_header X-Aurora-static-url "${STATIC_URL}" always;

location /404.html {
root /var/nginx/;
Expand Down

0 comments on commit 5f6b2cb

Please sign in to comment.