0
nginx yerler için yasak:403 Ben bir nginx <code>sites-enabled/default</code> yapılandırmasına sahip
server {
listen 80;
server_name localhost;
location/{
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location ~ /anotherroute {
alias /home/anotherroute/public;
index index.html;
}
}
Ben http://myipaddress/anotherroute
eriştiğinizde iyi çalışır ama http://myipaddress/anotherroute/yetanotherroute
ne zaman geri 403 forbidden
olarak gelir.
Bunu nasıl düzeltebilirim? http://myipaddress/anotherroute/yetanotherroute/somefile.php