parent
ca3dc82a62
commit
6453c170f7
|
@ -40,6 +40,13 @@ http {
|
|||
# Serves static files from the collected dir
|
||||
location /static/ {
|
||||
alias /takahe/static-collected/;
|
||||
try_files $uri /static//static-real$uri;
|
||||
}
|
||||
|
||||
# Static fallback for dev mode
|
||||
location /static-real/ {
|
||||
internal;
|
||||
proxy_pass http://takahe/;
|
||||
}
|
||||
|
||||
# Proxies media and remote media with caching
|
||||
|
|
Loading…
Reference in New Issue