Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6002

How to make Ngnix and Aiohttp webserver work at the same time? [closed]

$
0
0

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!


Viewing all articles
Browse latest Browse all 6002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>