Created
November 28, 2017 15:10
-
-
Save szeidler/703cbf1993d9546b27501ff39e627d1b to your computer and use it in GitHub Desktop.
SimpleSAMLphp Nginx Docker4Drupal configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ^~ /simplesaml { | |
alias /var/www/html/web/simplesaml; | |
location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ { | |
include /etc/nginx/fastcgi.conf; | |
fastcgi_pass php; | |
fastcgi_param SCRIPT_FILENAME $document_root$phpfile; | |
fastcgi_param PATH_INFO $pathinfo if_not_empty; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment