ソースを参照

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';
 	});