lib/smartcloud/grids/grid-nginx/fastcgi.conf in smartcloud-0.0.46 vs lib/smartcloud/grids/grid-nginx/fastcgi.conf in smartcloud-0.0.47
- old
+ new
@@ -2,8 +2,10 @@
include fastcgi_params; # Include the default fastcgi configs
fastcgi_param SCRIPT_FILENAME /usr/libexec/git-core/git-http-backend; # Tells fastcgi to pass the request to the git http backend executable.
fastcgi_param GIT_HTTP_EXPORT_ALL "";
-fastcgi_param GIT_PROJECT_ROOT /.smartcloud/grids/grid-runner/apps/repositories; # is the location of all of your git repositories.
-fastcgi_param PATH_INFO $uri; # Takes the capture group from our location directive and gives git that.
+# fastcgi_param GIT_PROJECT_ROOT /.smartcloud/grids/grid-runner/apps/repositories; # is the location of all of your git repositories.
+fastcgi_param PATH_INFO $path_info; # Takes the capture group from our location directive and gives git that.
fastcgi_param REMOTE_USER $remote_user; # Forward REMOTE_USER as we want to know when we are authenticated
+
+# IMPORTANT NOTE: Other required fastcgi_params have been defined already as environment variables in the runner container and hence need not be passed here.
\ No newline at end of file