fixed 502 route in Nginx config

This commit is contained in:
Alec Merdler 2017-07-27 14:45:18 -04:00
parent 78f77017e8
commit fb7df1e568
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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;
}