Add rules to the nginx.conf to allow it to serve files out of the snapshot directory.
This commit is contained in:
parent
3c3cca1140
commit
02c651ed36
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ http {
|
|||
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
if ($args ~ "_escaped_fragment_") {
|
||||
rewrite ^ /static/snapshots$uri/index.html;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
# checks for static file, if not found proxy to app
|
||||
alias /home/ubuntu/quay/static/;
|
||||
|
|
Reference in a new issue