mirror of
https://github.com/Rouji/blog.git
synced 2026-03-22 07:21:47 +00:00
No description
| content/posts | ||
| layouts | ||
| themes | ||
| .gitmodules | ||
| config.yaml | ||
| Makefile | ||
| README.md | ||
nginx
route root to a language based on accept-language:
map $http_accept_language $lang {
default en;
~*^en en;
~*^ja ja;
~*^de de;
}
[...]
location ~ /.+ {
try_files $uri $uri/ =404;
}
location / {
return 302 /$lang$request_uri;
}