Anyone got experience setting up shortURLs for #mediawiki using #nginx
Want to know if https://www.mediawiki.org/wiki/Manual:Short_URL/Nginx is still relevant...
Want to know if https://www.mediawiki.org/wiki/Manual:Short_URL/Nginx is still relevant...
Nemo_bis 🌈 •
Doug Webb •
(p.s. pretty new to webservers/nginx)
Nemo_bis 🌈 •
Having an empty wgScriptPath is not recommended.
https://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory
Other settings may be needed e.g. for VisualEditor and caching to work correctly.
On Ubuntu, just installing the Debian packages should suffice. If you don't have strong opinions about nginx you can just use the Apache defaults.
https://www.mediawiki.org/wiki/Debian_packages
Antonin Delpeuch •
Antonin Delpeuch •
Nemo_bis 🌈 •
Doug Webb •
Did a bit of digging on your suggestions... Indeed, the mediawiki:1.42 docker image comes with apache and shortlinks enabled
https://github.com/wikimedia/mediawiki-docker/blob/b3b4ecdcb503a180b1f5052b04963a0fb93f6611/1.42/apache/Dockerfile#L55
(I understand now that a docker container must necessarily have a webserver installed!)
mediawiki-docker/1.42/apache/Dockerfile at b3b4ecdcb503a180b1f5052b04963a0fb93f6611 · wikimedia/mediawiki-docker
GitHubDoug Webb •
Would be happy to receive friendly criticism before the unfriendly criticism 🙃
Antonin Delpeuch •