Describe the bug
I have trouble modifying the Nginx configuration file so that www.papersfeed.online serves both PapersFeed service and the API document(static files) created in #221 PR. I think we need to understand Nginx's rules about location.
Expected behavior
You should access both urls below appropriately.
https://www.papersfeed.onlinehttps://www.papersfeed.online/static/apidoc/apidoc.html
Additional context
Currently, I reverted the Nginx conf file so that PapersFeed can be accessed normally.
We should modify /etc/nginx/sites-available/papersfeed.conf file on the server VM(sudo needed).
Also, we can check logs about Nginx in /var/log/nginx/error.log.
Describe the bug I have trouble modifying the Nginx configuration file so that
www.papersfeed.online
serves both PapersFeed service and the API document(static files) created in #221 PR. I think we need to understand Nginx's rules aboutlocation
.Expected behavior You should access both urls below appropriately.
https://www.papersfeed.online
https://www.papersfeed.online/static/apidoc/apidoc.html
Additional context Currently, I reverted the Nginx conf file so that PapersFeed can be accessed normally.
We should modify
/etc/nginx/sites-available/papersfeed.conf
file on the server VM(sudo
needed). Also, we can check logs about Nginx in/var/log/nginx/error.log
.