Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
radames
/
nginx-gradio-reverse-proxy
like
24
Running
App
Files
Files
Community
3
Fetching metadata from the HF Docker repository...
fa35ee9
nginx-gradio-reverse-proxy
/
run.sh
radames
missing rewrite
96ce0e1
almost 2 years ago
raw
Copy download link
history
blame
Safe
212 Bytes
#!/bin/bash
service nginx start
python -m http.server --directory ./static --
bind
0.0.0.0 8000 &
echo
$! > http_server.pid
uvicorn
"app:app"
--port 7860 --host 0.0.0.0
pkill -F http_server.pid
rm
http_server.pid