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/passerelle

29 lines
786 B
Plaintext

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