2018/streaming/nginx/sites-available/tessera

28 lines
504 B
Plaintext
Raw Normal View History

2018-10-26 15:16:01 +03:00
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/nagios3/htpasswd.users";
# }
try_files $uri @tessera;
}
# protect /api
location @tessera {
include uwsgi_params;
# uwsgi_param SCRIPT_NAME tessera;
uwsgi_modifier1 30;
uwsgi_pass 127.0.0.1:3032;
}
}