forked from potsda.mn/mobilizon
Merge branch 'main' into 'main'
add static location for img See merge request framasoft/mobilizon!1346
This commit is contained in:
commit
64c28ec271
|
@ -75,6 +75,13 @@ server {
|
|||
default_type "text/plain";
|
||||
}
|
||||
|
||||
location ~ ^/img {
|
||||
root /opt/mobilizon/priv/static;
|
||||
etag off;
|
||||
access_log off;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
|
||||
location ~ ^/(js|css) {
|
||||
root /opt/mobilizon/priv/static;
|
||||
etag off;
|
||||
|
|
|
@ -75,6 +75,13 @@ server {
|
|||
default_type "text/plain";
|
||||
}
|
||||
|
||||
location ~ ^/img {
|
||||
root /opt/mobilizon/priv/static;
|
||||
etag off;
|
||||
access_log off;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
|
||||
location ~ ^/(js|css) {
|
||||
root /home/mobilizon/live/priv/static;
|
||||
etag off;
|
||||
|
|
Loading…
Reference in a new issue