location /blog ## you location of the application folder. {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://website;
}
need to specify the location of your public folder. I guess its inside subdirectory. If its WordPress then you need to see you permentlink structure.
1条答案
按热度按时间gxwragnw1#