Projet

Général

Profil

« Précédent | Suivant » 

Révision f4843b93

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 9 ans

statics and theme management (#7070)

Templates and statics upload to organization dir

Voir les différences:

debian/nginx-example.conf
9 9
        access_log  /var/log/nginx/u-auth.example.org-access.log combined;
10 10
        error_log  /var/log/nginx/u-auth.example.org-error.log;
11 11

  
12
        location ~ ^/static/(.+)$ {
12
        location ~ ^(.*)/static/(.+)$ {
13 13
            root /;
14
            try_files /var/lib/u-auth/static/$1
15
                      /var/lib/u-auth/collectstatic/$1
14
            try_files /var/lib/u-auth/organizations/$1/static/$2
15
                      /var/lib/u-auth/static/$2
16
                      /var/lib/u-auth/collectstatic/$2
16 17
                      =404;
17 18
        }
18 19

  

Formats disponibles : Unified diff