Skip to content
Snippets Groups Projects
Unverified Commit 9459b021 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Update Nginx config

parent 494f4204
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ Prerequisites ...@@ -27,7 +27,7 @@ Prerequisites
------------- -------------
* A web server capable of executing PHP scripts. * A web server capable of executing PHP scripts.
* PHP version >= 5.5.0. * PHP version >= 7.2.0.
* Support for the following PHP extensions: * Support for the following PHP extensions:
* Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`, `json`, `mbstring` * Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`, `json`, `mbstring`
* When automatically checking for latest versions, and used by some modules: `cURL` * When automatically checking for latest versions, and used by some modules: `cURL`
...@@ -211,8 +211,12 @@ look like this: ...@@ -211,8 +211,12 @@ look like this:
location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ { location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ {
include fastcgi_params; include fastcgi_params;
fastcgi_pass $fastcgi_pass; fastcgi_pass $fastcgi_pass;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$phpfile;
fastcgi_param SCRIPT_NAME /simplesaml$phpfile;
# Must be prepended with the baseurlpath
fastcgi_param SCRIPT_NAME /simplesaml$phpfile;
fastcgi_param PATH_INFO $pathinfo if_not_empty;
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment