I installed some stuff on my Ubuntu server that need nginx. However, I need to /callback to be accessable for my aiohttp webserver, but I can't since ngnix took it. I find info where it says that in I need to add
location /callback { proxy_pass http://127.0.0.1:8085;
in /etc/nginx/sites-available/default, then restart it
But it don't seems to be working, no matter what request I send it's either 404 ngnix or 500 ngnix or 301 ngnix: http://mydomain/callback:8085 or https://mydomain/callback:8085 or from server myip/callback or myip/callback:8085 or 127.0.0.1/callback:8085 or 127.0.0.1/callback or localhost:8085 or localhost/callback or localhost/callback:8085 and etc...
You get the idea, it's doesn't work
Thanks in advance!