Skip to content
Extraits de code Groupes Projets
Valider 90017287 rédigé par denschub's avatar denschub
Parcourir les fichiers

Fixed bugs in nginx.conf-template

parent 65d58177
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -90,7 +90,7 @@ http { ...@@ -90,7 +90,7 @@ http {
location /assets { location /assets {
expires 1d; expires 1d;
add_header Cache-Control public add_header Cache-Control public;
} }
location / { location / {
...@@ -114,7 +114,7 @@ http { ...@@ -114,7 +114,7 @@ http {
} }
<% unless @s3_bucket.blank? || @s3_path.blank? %> <% unless @s3_bucket.blank? || @s3_path.blank? %>
<%= "rewrite ^/uploads/images/(.*)$ #{@s3_bucket}#{@s3_path}$1 permanent; %> <%= "rewrite ^/uploads/images/(.*)$ #{@s3_bucket}#{@s3_path}$1 permanent;" %>
<% end %> <% end %>
} }
......
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