Commit 5dd27584 authored by Tobias Munk's avatar Tobias Munk

Merge commit 'e89049b9'

parents 1766e7b7 e89049b9
Pipeline #17419 passed with stages
in 1 minute and 12 seconds
......@@ -57,6 +57,9 @@ http {
application/rss+xml
image/svg+xml;
# don't use etag with expire
etag off;
server {
charset utf-8;
client_max_body_size 512M;
......@@ -73,7 +76,16 @@ http {
}
# uncomment to avoid processing of calls to non-existing static files by Yii
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|svg)$ {
# set expire Header
expires 6M;
#add_header Cache-Control "public";
add_header Last-Modified "";
# keep logs clean
log_not_found off;
try_files $uri =404;
}
......
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