Commit b8407cdc authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Jelle van der Waa
Browse files

archwiki: add nginx location block for the new REST API

parent 3ca0a6db
......@@ -62,6 +62,11 @@ server {
rewrite ^ /index.php;
# Handling for MediaWiki REST API, see
location ^~ /rest.php/ {
rewrite ^ /rest.php;
# special case for '/load.php' type URLs to cache css/js in nginx to relieve php-fpm
location = /load.php {
access_log /var/log/nginx/{{ archwiki_domain }}/access.log main;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment