commit
ae9bd8b727
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import jinja2
|
|||
QUAYPATH = os.getenv("QUAYPATH", ".")
|
||||
QUAYDIR = os.getenv("QUAYDIR", "/")
|
||||
QUAYCONF_DIR = os.getenv("QUAYCONF", os.path.join(QUAYDIR, QUAYPATH, "conf"))
|
||||
STATIC_DIR = os.path.join(QUAYDIR, 'static/')
|
||||
STATIC_DIR = os.path.join(QUAYDIR, 'static')
|
||||
|
||||
def write_config(filename, **kwargs):
|
||||
with open(filename + ".jnj") as f:
|
||||
|
|
|
@ -166,7 +166,7 @@ location /c1/ {
|
|||
|
||||
location /static/ {
|
||||
# checks for static file, if not found proxy to app
|
||||
alias {{static_dir}};
|
||||
alias {{static_dir}}/;
|
||||
error_page 404 /404;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue