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