I want to forward it, that is, forward www.domainn.com:8080 to www.domain.com/API
Can it be done? Please provide a configuration example, thank you very much! :)
【Resolved】
Add to the configuration file:
location /api {
proxy_pass http://192.168.0.1:8080/;
}
Official Documents