2016/monitoring/tessera/nginx/tessera-vhost
Vladimir Vitkov 6d154a3c89 tessera - graphing dashboard
* nginx vhost
 * uwsgi app server
 * dashboards
2015-11-10 16:08:40 +02:00

25 lines
406 B
Plaintext

server {
server_name tessera.openfest.org;
listen 80;
listen [::]:80;
root /var/www/html;
client_max_body_size 500M;
location / {
limit_except GET{
auth_basic "NO";
auth_basic_user_file "/etc/tessera/htpasswd.users";
}
try_files $uri @tessera;
}
location @tessera {
include uwsgi_params;
# uwsgi_param SCRIPT_NAME tessera;
uwsgi_modifier1 30;
uwsgi_pass 127.0.0.1:3032;
}
}