0👍
Sure, you can accomplish what you want with “location” directive.
Example:
server {
listen 80;
server_name example.com;
location / {
# document root, proxy pass or whatever to vuejs.
}
location /api {
# document root, proxy pass or whatever to symfony.
}
}
Source:stackexchange.com