Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. server {
  2.     listen 80;
  3.  
  4.     server_name localhost;
  5.  
  6.     # application: phpldapadmin
  7.     location /phpldapadmin {
  8.         alias /usr/share/phpldapadmin/htdocs;
  9.         index index.php index.html index.htm;
  10.  
  11.         location ~ ^/phpldapadmin/(.+\.php)$ {
  12.             try_files $uri =404;
  13.             root /usr/share/;
  14.             if ($request_filename !~* htdocs) {
  15.                 rewrite ^/phpldapadmin(/.*)?$ /phpldapadmin/htdocs$1;
  16.             }
  17.             fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
  18.             fastcgi_index index.php;
  19.             fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  20.             include /etc/nginx/fastcgi_params;
  21.         }
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top