diff --git a/conf/nginx.conf b/conf/nginx.conf index 4b41811..ec1c56b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,13 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; + rewrite ^(.*)$ $1?lang=__LANGUAGE__ break; ### Example PHP configuration (remove it if not used) # index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file #client_max_body_size 50M; - -rewrite ^(.*)$ $1?lang=__LANGUAGE__ break; try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) {