13 lines
326 B
Plaintext
13 lines
326 B
Plaintext
|
# nginx configuration to remove the question mark from the URL but maintain the query string
|
||
|
|
||
|
location / {
|
||
|
if (!-f $request_filename){
|
||
|
set $rule_0 1$rule_0;
|
||
|
}
|
||
|
if (!-d $request_filename){
|
||
|
set $rule_0 2$rule_0;
|
||
|
}
|
||
|
if ($rule_0 = "21"){
|
||
|
rewrite ^/(.*)$ /index.php?$1 last;
|
||
|
}
|
||
|
}
|