为什么给api单独配置8082端口一直显示404呢
[table] |
为什么给api单独配置8082端口一直显示404呢 server { listen 8082; server_name www.a.com a.com; index index.php; location /api { alias /www/wwwroot/a.com; } #PHP-INFO-START PHP引用配置,可以注释或修改 include enable-php-73.conf; #PHP-INFO-END #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效 include /www/server/panel/vhost/rewrite/www.a.com.conf; #REWRITE-END } |