Answer the question
In order to leave comments, you need to log in
Subdomains for language (django)?
Good afternoon.
Used by i18n_patterns
language versions of the site are available at:
site.ru/kk/
site.ru/ru/
site.ru/en/
How to make language versions available at:
kk.site.ru
ru.site.ru
en .site.ru
Answer the question
In order to leave comments, you need to log in
server {
server_name "~^(?<sub>\w+)*\.(?<domain>.*)$";
proxy_pass http://$domain/$sub/$request_uri;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question