PHP Classes

File: raspberry/boot-part/multiotp-tree/etc/nginx/sites-available/multiotp-proxy

Recommend this page to a friend!
  Classes of André Liechti  >  multiOTP PHP class  >  raspberry/boot-part/multiotp-tree/etc/nginx/sites-available/multiotp-proxy  >  Download  
File: raspberry/boot-part/multiotp-tree/etc/nginx/sites-available/multiotp-proxy
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: multiOTP PHP class
Authenticate and manage OTP strong user tokens
Author: By
Last change:
Date: 4 months ago
Size: 1,335 bytes


Class file image Download
# multiOTP open source
# @version
# @date      2017-06-09
# since, fastcgi_read_timeout 86400;
server {
    listen    ;
    server_name         localhost;

    root /usr/local/bin/multiotp;
    index multiotp.proxy.php;

    access_log off;

    gzip            on;
    gzip_comp_level 4;
    gzip_disable    msie6;
    gzip_min_length 1000;
    gzip_proxied    any;
    gzip_static     on;
    gzip_types      application/xml application/x-javascript text/css text/plain;
    gzip_vary       on;

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;

    try_files $uri $uri/ /multiotp.proxy.php;

    location ~* \.(appcache|manifest)$ {
        expires -1;

    location ~ \.php$ {
            include /etc/nginx/fastcgi_params;
            try_files $uri /multiotp.proxy.php;
            fastcgi_param HTTPS on;
            fastcgi_index multiotp.proxy.php;
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_pass unix:/var/run/php5-fpm.sock;
            # since, fastcgi_read_timeout 86400;
            fastcgi_read_timeout 86400;

    location / {
        try_files $uri $uri/ /multiotp.proxy.php;
For more information send a message to info at phpclasses dot org.