# Configuration du server
server {
    listen      192.168.43.32:80;
    server_name sp-condorcet.dev.entrouvert.org;
    #charset     utf-8;

    access_log /var/log/nginx/sp_sso.access.log;

    error_log /var/log/nginx/sp_sso.error.log;

    # Fichiers media et statiques, délivrés par nginx directement
    #location /media  {
    #    #alias /usr/lib/authentic2/media;
    #    alias /usr/share/authentic2/web;
    #}

    location /static {
        alias   /home/pmarillonnet/Documents/paul-synchro/django/sp_sso/collected_static;
    }

    # Le reste va vers notre proxy uwsgi
    location / {
        proxy_set_header Host $http_host;
        proxy_pass http://unix:/var/run/sp_sso/sp_sso.sock;
        #include fastcgi_params;
        #fastcgi_pass 127.0.0.1:8008;
    }
}
