mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
12 lines
224 B
Plaintext
12 lines
224 B
Plaintext
|
# Copy to /etc/nginx/conf.d/gradio.nginx.conf
|
||
|
|
||
|
server {
|
||
|
listen 80;
|
||
|
server_name localhost;
|
||
|
location / {
|
||
|
proxy_pass http://localhost:8080/;
|
||
|
}
|
||
|
location /demo/ {
|
||
|
proxy_pass http://localhost:8070/demo/;
|
||
|
}
|
||
|
}
|