lemonldap-ng/_example/etc/portal-nginx.conf
Xavier Guimard a001fb1be4 First Nginx configuration that runs !!!
To see it, launch 'make e2e_tests TESTWEBSERVER=nginx'
2016-01-29 16:50:16 +00:00

19 lines
351 B
Plaintext

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;
}
}