Newer
Older
Alessandro Cerioni
committed
server_name _;
Alessandro Cerioni
committed
FORESTIER Fabien
committed
# rule serving the fr build
Alessandro Cerioni
committed
location / {
FORESTIER Fabien
committed
try_files $uri$args /index.html;
Alessandro Cerioni
committed
}
FORESTIER Fabien
committed
# Rule serving the en build
Alessandro Cerioni
committed
location /en {
try_files $uri$args /en/index.html;
FORESTIER Fabien
committed
# redirecting the /fr url to the new location of the fr build
location ~ ^/fr(.*)$ {
FORESTIER Fabien
committed
#location /robots.txt {
# rewrite ^ /fr/robots.txt;
Alessandro Cerioni
committed
#}