Everyone, I purchased a virtual host from Alibaba Cloud,
I only have ftp, and online tutorials all use cmd to set it up. I would like to ask, can the virtual host set up a response agent? Alibaba does not support the setting of second-level domain names. I want to use nginx to set second-level domain names.
If it is not supported, you can only run php.
Of course you can write a reverse proxy in php, but the performance will be much worse.
The virtual host will not give you such high permissions. To configure Nginx with a reverse proxy, you should use ECS.