Commit 3bccbe1a authored by Owain Jones's avatar Owain Jones
Browse files

fixed /static/images

parent 05423890
...@@ -61,12 +61,6 @@ server { ...@@ -61,12 +61,6 @@ server {
add_header Cache-Control "public"; add_header Cache-Control "public";
} }
location ~ ^/static/images/.*$ {
access_log off;
error_log off;
try_files $uri =404;
}
location /static/logs { location /static/logs {
alias /var/gliders/logs; alias /var/gliders/logs;
} }
...@@ -79,6 +73,12 @@ server { ...@@ -79,6 +73,12 @@ server {
alias /var/gliders/static; alias /var/gliders/static;
} }
location /static/images {
access_log off;
error_log off;
alias /var/gliders/static/images;
}
location @rewriteapp { location @rewriteapp {
rewrite ^(.*)$ /${symfonyfile}.php/$1 last; rewrite ^(.*)$ /${symfonyfile}.php/$1 last;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment