Skip to content

Commit

Permalink
include default fastcgi_params to allow for example POST requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernasocchi committed Jan 4, 2019
1 parent ba33518 commit 796a4f4
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 796a4f4

Please sign in to comment.