nginx 405 not allowed Problem Solution

Increase the following line error_page 405 = 200 $ request_uri in the location; as follows

    server {
        listen       80;
        server_name  localhost;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
            root   /mnt/svnhouse/publish;
            index  index.html;
            error_page 405 =200  $request_uri;
        }

 

Published 227 original articles · won praise 94 · views 540 000 +

Guess you like

Origin blog.csdn.net/wiborgite/article/details/93658967
405