Carlos Dorelli Posted February 27, 2021 Share Posted February 27, 2021 Hi guys, I have TCAdmin installed in Ubuntu 18.04 using nginx and I'm getting nginx error 404 when I try to access the FastDL link. Any idea of how to solve it? Link to comment Share on other sites More sharing options...
Dennis Posted February 27, 2021 Share Posted February 27, 2021 I think nginx will throw a 404 if there's no index file by default (since Directory Index is disabled). You're still able to access the files directly by using the complete link to the file. You could enable Directory Index by adding this to your location block: location /fastdldir/ { autoindex on; } Link to comment Share on other sites More sharing options...
Carlos Dorelli Posted February 28, 2021 Author Share Posted February 28, 2021 19 hours ago, Dennis said: I think nginx will throw a 404 if there's no index file by default (since Directory Index is disabled). You're still able to access the files directly by using the complete link to the file. You could enable Directory Index by adding this to your location block: location /fastdldir/ { autoindex on; } Thanks for the reply. I did it but still getting error 404 on nginx. #Remover erro 404 no link do FastDL location /home/tcadmin/tcafiles/fastdownloads/ { autoindex on; } Link to comment Share on other sites More sharing options...
Adam Posted February 28, 2021 Share Posted February 28, 2021 1 hour ago, CarlosDorelli said: Thanks for the reply. I did it but still getting error 404 on nginx. #Remover erro 404 no link do FastDL location /home/tcadmin/tcafiles/fastdownloads/ { autoindex on; } Are you editing the default.conf or did you make a new one? make sure it is pointing to the correct document root. nginx default is /var/www/html Link to comment Share on other sites More sharing options...
Carlos Dorelli Posted February 28, 2021 Author Share Posted February 28, 2021 4 hours ago, SHAD0WRAIDERZA said: Are you editing the default.conf or did you make a new one? make sure it is pointing to the correct document root. nginx default is /var/www/html I'm editing the default.conf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now