try typo3 nginx stuff
This commit is contained in:
parent
46d27d5199
commit
fca2eaf581
1 changed files with 4 additions and 1 deletions
|
|
@ -254,12 +254,15 @@ in
|
|||
proxy_set_header Remote-Groups $groups;
|
||||
proxy_set_header Remote-Name $name;
|
||||
proxy_set_header Remote-Email $email;
|
||||
fastcgi_param PHP_AUTH_USER $user;
|
||||
# If Authelia returns 401, then nginx redirects the user to the login portal.
|
||||
# If it returns 200, then the request pass through to the backend.
|
||||
# For other type of errors, nginx will handle them as usual.
|
||||
error_page 401 =302 https://auth.cloonar.com/?rd=$target_url;
|
||||
|
||||
fastcgi_param AUTH_USER $user;
|
||||
fastcgi_param REMOTE_USER $user;
|
||||
fastcgi_param PHP_AUTH_USER $user;
|
||||
|
||||
try_files $uri /typo3/index.php$is_args$args;
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue