Add rules to the nginx.conf to allow it to serve files out of the snapshot directory.

This commit is contained in:
Ubuntu 2013-10-11 04:41:21 +00:00
parent 3c3cca1140
commit 02c651ed36

View file

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