hotsnr
accessing nginx server on my local machine
Try to break it down into smaller problems:
1. HTTP server.
2. Connectivity.
3. Nginx config.
1) Try to use some very dumb HTTP server which doesn't need any configuration. For example,
http-server
from npm:
Note: you need to disable nginx
first, otherwise http-server
won't be able to start.
Then open another SSH session and check that it works:
2) Next step - try to access it from the outside. First, make sure that port 8000 is exposed as TCP (not HTTP!) according to your template. When your pod is running, check out pod mappings - you need External port (8000 -> a.b.c.d:NNNN). Then you can try to open it in your browser - http://a.b.c.d:NNNN/
.
3) Even the most basic config should work. Try this one, but don't forget to change port to 8000.
https://ubuntu.com/server/docs/how-to-configure-nginx
Note: don't forget to kill http-server
before trying to launch nginx
.25 replies
RRunPod
•Created by aksay_23298 on 11/5/2024 in #⚡|serverless
serverless workers idle but multiple requests still in the queue
I'm currently having this problem with msqzn0omp16d7h, usually happens when I push new payload (release)
4 replies