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

19 lines
351 B
Plaintext
Raw Normal View History

server {
listen __PORT__;
server_name auth.__DNSDOMAIN__;
root __PORTALDIR__;
rewrite ^/$ /auth.psgi last;
location /auth.psgi {
include /etc/nginx/fastcgi_params;
fastcgi_pass __PSGISERVERSOCKET__;
fastcgi_param LLTYPE auth;
fastcgi_param SCRIPT_NAME /manager.psgi;
}
location / {
try_files $uri $uri/ =404;
}
}