您能帮我吗...我需要为我的webscoket ip:port设置子域,我读了很多关于如何做到这一点的结果!我不知道nginx到底是什么..每个人都在谈论它。
然后他们输入代码
<VirtualHost *:80>
ServerName weblog.localhost
DocumentRoot /opt/lampp/htdocs/weblog.localhost/mvc_htdocs
DirectoryIndex index.php index.html
</VirtualHost>
我不知道在哪里放置这种代码!任何人都可以向我解释该如何做?请