Commit b26c52e8 authored by Yuri Konotopov's avatar Yuri Konotopov

openshift: fixed nginx configuration

parent 0acbdd69
......@@ -54,11 +54,6 @@ http {
access_log off;
}
location ~* \.(jpg|jpeg|gif|png|ico|css|pdf|txt|bmp|js)$ {
access_log off;
expires 3d;
}
location /health {
access_log off;
return 200 "alive";
......@@ -69,6 +64,11 @@ http {
}
location /static/ {
location ~* \.(jpg|jpeg|gif|png|svg|ico|css|pdf|txt|bmp|js)$ {
access_log off;
expires 3d;
}
alias /extensions-web/www/static-files/;
}
......
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