浏览代码

Add a comment about nginx config

axkuhta 1 年之前
父节点
当前提交
f876c30f62
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      index.php

+ 4 - 0
index.php

@@ -5,6 +5,10 @@
 		echo 'hello world!';
 	});
 
+	// Needs this in nginx sites-enabled config (in my environment)
+	//	location /link/ {
+	//		try_files $uri $uri/ /link/index.php;
+	//	}
 	Flight::route('/test', function(){
 		echo 'routed page test';
 	});