Ver código fonte

Add a comment about nginx config

axkuhta 1 ano atrás
pai
commit
f876c30f62
1 arquivos alterados com 4 adições e 0 exclusões
  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';
 	});