Browse Source

Add a comment about nginx config

axkuhta 1 năm trước cách đây
mục cha
commit
f876c30f62
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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';
 	});