79308111

Date: 2024-12-25 18:05:11
Score: 2
Natty:
Report link

I was able to answer my own question after much brainstorming and apparently the solution was very simple. Since /home/spidey/sopon3/rda-aof/ has been configured as the directory to serve the files that can be accessible using just my-devdomain.com/data-file.pdf, all I had to do was create another directory inside /rda-aof and put my files there. So now the url looks like this: my-devdomain.com/public/data-file.pdf. With this, I was able to configure spring security to allow /public/** without any authentication.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hussain Ahmed Siddiqui