Adding error_page 405 =200 $uri;
to the config. Example
nginx
location ^~ /mock/ {
root /var/www/mock;
error_page 405 =200 $uri;
}
See also:
更新于 写于 NginxStatic files
Adding error_page 405 =200 $uri;
to the config. Example
location ^~ /mock/ {
root /var/www/mock;
error_page 405 =200 $uri;
}
See also: