From d541c1cff97742662242423ceb619a4ca4f27c28 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 30 Sep 2013 17:01:50 -0400 Subject: [PATCH] Try 2 to get static files working. --- .ebextensions/python27.config | 2 +- wsgi.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ebextensions/python27.config b/.ebextensions/python27.config index cfac7e3e2..0d7b06efb 100644 --- a/.ebextensions/python27.config +++ b/.ebextensions/python27.config @@ -35,4 +35,4 @@ container_commands: option_settings: "aws:elasticbeanstalk:container:python:staticfiles": - "/static/": "static/" \ No newline at end of file + "/static": "static/" \ No newline at end of file diff --git a/wsgi.conf b/wsgi.conf index 9296bd3ce..956ff0040 100644 --- a/wsgi.conf +++ b/wsgi.conf @@ -6,7 +6,7 @@ WSGIRestrictEmbedded On -Alias /static /opt/python/current/app/ +Alias /static /opt/python/current/app/static/ Order allow,deny Allow from all