دوستان یه سوال nginx دارم
کسی میدونه مشکل این کانفیگ چیه که روی آدرس /blog خطای 403 forbidden میده؟
server {
listen 80;
listen [::]:80;
server_name www.domain.ir domain.ir;
location / {
proxy_pass http://x.x.x.x:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
#location /blog/ {
location ^~/blog/ {
alias /root/blog;
#rooit /root/blog;
try_files $uri /index.html index.php;
index index.html index.php;
}
location = /50x.html {
root /usr/share/nginx/html;
}
}
سلسلة دوستان یه سوال nginx دارم
18 رسالة · –ح ح M E