Nginx:Vhost MediaWiki: Difference between revisions

No edit summary
Line 185: Line 185:
</syntaxhighlight>
</syntaxhighlight>


=== Mengatasi search tidak berfungsi ===
<syntaxhighlight lang="nginx" line="1">
    location ~ \.php$ {
        include fastcgi_params;
        # fastcgi_index index.php;
        fastcgi_pass php_workers;
        # fastcgi_param HTTP_PROXY '';
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
    #Ini untuk mengatasinya
    location /rest.php {
        fastcgi_pass php_workers;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
</syntaxhighlight>
[[Category:Server]]
[[Category:Server]]
[[Category:Web Server]]
[[Category:Web Server]]
[[Category:Nginx]]
[[Category:Nginx]]
[[Category:MediaWiki]]
[[Category:MediaWiki]]