Commit 4ecf2d28 authored by root's avatar root
Browse files

updated gliders conf

parent 6e90016d
......@@ -43,10 +43,20 @@ server {
add_header Cache-Control "public";
}
location ~ ^/images/vehicles/(?P<vehicle_type>[a-zA-Z0-9]+)_(?P<vehicle_name>[a-zA-Z0-9]+)\.(png|jpg)$ {
access_log off;
error_log off;
try_files $uri images/vehicles/$vehicle_name.png =404;
}
location /static/logs {
alias /var/gliders/logs;
}
location /var/gliders/logs {
alias /var/gliders/logs;
}
location @rewriteapp {
rewrite ^(.*)$ /app.php/$1 last;
}
......@@ -91,10 +101,20 @@ server {
add_header Cache-Control "public";
}
location ~ ^/images/vehicles/(?<vehicle_type>[a-zA-Z0-9]+)_(?<vehicle_name>[a-zA-Z0-9]+)\.(png|jpg)$ {
access_log off;
error_log off;
try_files $uri images/vehicles/$vehicle_type.png =404;
}
location /static/logs {
alias /var/gliders/logs;
}
location /var/gliders/logs {
alias /var/gliders/logs;
}
location @rewriteapp {
rewrite ^(.*)$ /app_dev.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