nginx
This commit is contained in:
parent
cb2abbd597
commit
6adca38f69
@ -18,6 +18,24 @@ server {
|
||||
error_page 500 502 503 504 /500.html;
|
||||
client_max_body_size 4G;
|
||||
keepalive_timeout 10;
|
||||
|
||||
location ~ ^/(assets)/ {
|
||||
root /home/web/danielle_app/current/public;
|
||||
gzip_static on;
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
# access_log /dev/null;
|
||||
}
|
||||
|
||||
location ~ ^/(public_medias)/ {
|
||||
root /home/web/danielle_app/current/public;
|
||||
gzip_static on;
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
# access_log /dev/null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user