我想在端口8000上创建一个配置,并从域中隐藏该端口
现在该站点可以在80端口上工作
server {
listen 80;
server_name sub.site.com;
root /var/www/team/web;
index index.php;
location / {
index index.php;
try_files uri uri/ /index.php?$args;
}
}