Question
Nginx 403 Forbidden
I’ve configured my Nginx and it gives a ‘403 Forbidden’ I have no idea why
this is my conf
server {
listen 80;
listen [::]:80;
server_name daanvandalen.com;
root /var/www/daanvandalen.com;
index index.php index.html;
location / {
try_files $uri $uri/ =404;
}
autoindex on;
autoindex_exact_size off;
}
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×