Commit 5be9af27 authored by Andri Steiner's avatar Andri Steiner

add fallback to Pootle language files #1

parent a8674a41
......@@ -17,3 +17,14 @@ location /api/ {
auth_basic_user_file /home/localize/.htpasswd;
}
# Pootle fallback
# see https://gitlab.typo3.org/services/localize.typo3.org/site/-/issues/1
location /xliff/ {
try_files $uri @pootle;
}
location @pootle {
rewrite ^/xliff/(.*) /fileadmin/l10n/$1 break;
proxy_pass https://extensions.typo3.org;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment