This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
paul-synchro/nginx_conf_bkup/authentic2-sources-gunicorn

29 lines
788 B
Plaintext

# Configuration du server
server {
listen 192.168.43.32:80;
server_name idp-condorcet.dev.entrouvert.org;
#charset utf-8;
access_log /var/log/nginx/authentic.access.log;
error_log /var/log/nginx/authentic.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/devel/authentic.deployed/collected-static;
}
# Le reste va vers notre proxy uwsgi
location / {
proxy_set_header Host $http_host;
proxy_pass http://unix:/var/run/authentic2/authentic2.sock;
#include fastcgi_params;
#fastcgi_pass 127.0.0.1:8080;
}
}