Header Ads

nginx 403 Forbidden Error 에러 해결법

C:\nginx\conf\nginx.conf > Open

45 line

location / {
            root   html;
            index  index.html index.htm index.php;
        }

64 line

location ~ \.php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  c:/nginx/html$fastcgi_script_name;
            include        fastcgi_params;
        }

No comments

Copyright 2016, minki. All rights reserved. Powered by Blogger.