You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
252 B
12 lines
252 B
3 weeks ago
|
# another virtual host using mix of IP-, name-, and port-based configuration
|
||
|
|
||
|
server {
|
||
|
listen 8080;
|
||
|
|
||
|
location /api/ {
|
||
|
proxy_pass http://localhost:3001/api/;
|
||
|
}
|
||
|
location / {
|
||
|
proxy_pass http://localhost:3000/;
|
||
|
}
|
||
|
}
|