# nginx-sso - example nginx config # # (c) 2015 by Johannes Gilger # # This is an example config for using nginx with the nginx-sso cookie system. # For simplicity, this config sets up two fictional vhosts that you can use to # test against both components of the nginx-sso system: ssoauth & ssologin. # In a real deployment, these vhosts would be separate hosts. #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { # This is the vserver for the service that you want to protect. server { listen 80; root /usr/share/nginx/html; } }