Переглянути джерело

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