Projet

Général

Profil

0003-nginx-example.conf-add_header-Access-Control-Allow-O.patch

Christophe Siraut, 23 mars 2018 18:27

Télécharger (766 octets)

Voir les différences:

Subject: [PATCH 3/4] nginx-example.conf: add_header
 Access-Control-Allow-Origin

 debian/nginx-example.conf | 1 +
 1 file changed, 1 insertion(+)
debian/nginx-example.conf
15 15
                      /var/lib/combo/tenants/$host/theme/static/$1
16 16
                      /var/lib/combo/collectstatic/$1
17 17
                      =404;
18
            add_header Access-Control-Allow-Origin *;
18 19
        }
19 20

  
20 21
        location ~ ^/media/(.+)$ {
21
-