Skip to content

Commit

Permalink
Merge pull request #11 from gem/add_fastcgi_params
Browse files Browse the repository at this point in the history
include default fastcgi_params to allow for example POST requests
  • Loading branch information
daniviga authored Jan 7, 2019
2 parents ba33518 + 796a4f4 commit d2f8e76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/nginx-fcgi-sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ http {
internal; # Used only by the OGC rewrite
root /var/www/data;
fastcgi_pass qgis-fcgi:9993;

include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
# build links in GetCapabilities based on
Expand Down
2 changes: 2 additions & 0 deletions conf/qgis-server-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ http {
internal; # Used only by the OGC rewrite
root /var/www/data;
fastcgi_pass localhost:9993;

include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
# build links in GetCapabilities based on
Expand Down

0 comments on commit d2f8e76

Please sign in to comment.