mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
mediawiki: update nginx.conf
This commit is contained in:
@ -24,7 +24,7 @@ server {
|
||||
}
|
||||
|
||||
location @rewrite {
|
||||
rewrite ^/(.*)$ /index.php?title=$1&$args;
|
||||
rewrite ^/(.*)$ /index.php;
|
||||
}
|
||||
|
||||
location ^~ /maintenance/ {
|
||||
@ -38,5 +38,6 @@ server {
|
||||
fastcgi_pass unix:/php/run/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /nginx/conf/fastcgi_params;
|
||||
try_files $uri @rewrite;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user