lemonldap-ng/_example/etc/portal-nginx.conf

20 lines
412 B
Plaintext

server {
listen __PORT__;
server_name auth.__DNSDOMAIN__;
root __PORTALDIR__;
rewrite ^/$ /index.pl last;
location ~ \.pl$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass __PSGISERVERSOCKET__;
fastcgi_param LLTYPE auth;
fastcgi_param SCRIPT_NAME $document_root$fastcgi_script_name;
fascgi_split_path_info ^(.*\.pl)(/.+)$;
}
location / {
try_files $uri $uri/ =404;
}
}