diff --git a/conf/nginx.conf b/conf/nginx.conf index d0361fa..bb07fed 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -58,7 +58,7 @@ rewrite ^ https://$server_name$request_uri? permanent; # by denying dot files and rewrite request to the front controller location ^~ /.well-known/ { allow all; - rewrite ^/(.*) /index.php?pagename=$uri&$args last; + rewrite ^/(.*) /index.php?pagename=$request_uri&$args last; } #statically serve these file types when possible