Skip to content
Extraits de code Groupes Projets
Valider 7d4d08c5 rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Add cache control public to public/assets

parent a688e479
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -88,6 +88,10 @@ http { ...@@ -88,6 +88,10 @@ http {
ssl_certificate <%= @cert_location %>; ssl_certificate <%= @cert_location %>;
ssl_certificate_key <%= @key_location %>; ssl_certificate_key <%= @key_location %>;
location /assets {
expires 1d;
add_header Cache-Control public
}
location / { location / {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter