时间:2021-07-01 10:21:17 帮助过:11人阅读
location / { try_files $uri$uri/ /index.php?$query_string; } location /api { try_files $uri$uri/ /api.php?$query_string; } location /admin { try_files $uri$uri/ /admin.php?$query_string; } location /flarum { deny all; return404; } location ~ .php$ { fastcgi_split_path_info ^(.+.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; }
mail_driver: smtp mail_host: ...mail_port: ...mail_username: ...mail_password: ...mail_encryption: ...
以上就介绍了Flarum 安装,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。