]> git.parisson.com Git - mezzo.git/commitdiff
fix server_name, fix starts.eu logo
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 6 Mar 2017 12:12:14 +0000 (13:12 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 6 Mar 2017 12:12:14 +0000 (13:12 +0100)
app/themes/starts_eu/templates/starts_eu/pages/menus/header.html
etc/nginx/conf.d/default.conf

index 0676e819b634df4ed6900c14e04f633bf0b9f88b..72688bd2b56a6231e608af2264e933a75c23fae9 100644 (file)
@@ -16,7 +16,7 @@
                           {% with host_organization.images|get_type:"logo_header" as images %}
                             {% if images %}
                              {% with images|first as img %}
-                              <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" />
+                              <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="120" />
                              {% endwith %}
                             {% endif %}
                           {% endwith %}
index 87b359ee3a18a2a7dfdbc81b78a447387c2e55da..211f4ce9ddfc9f8274baeb33e88fda745c990e69 100644 (file)
@@ -1,13 +1,15 @@
 server_tokens off;
 
 server {
-    server_name  starts.eu;
-    rewrite ^(.*) http://www.starts.eu$1 permanent;
+    listen 80;
+    server_name starts.eu;
+    return 301 $scheme://www.starts.eu$request_uri;
 }
 
 server {
        listen 80;
        charset utf-8;
+       server_name *.starts.eu vertigo.*;
 
        access_log /var/log/nginx/app-access.log;
        error_log /var/log/nginx/app-error.log;