~/paste/1208
~/paste/1208
~/paste/1208

  1. server {
  2.     listen 443 default ssl;
  3.  
  4.     server_name dns.nanl.de;
  5.     root /var/www/poweradmin;
  6.     index index.php;
  7.  
  8.     ssl_certificate /etc/ssl/certs/nanl_services.crt;
  9.     ssl_certificate_key /etc/ssl/private/nanl_services.key;
  10.     ssl_client_certificate /etc/ssl/certs/nanl_clients.ca;
  11.     ssl_verify_client on;
  12.  
  13.     location ~ \.php$ {
  14.         include /etc/nginx/fastcgi_params;
  15.         fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;
  16.         fastcgi_index index.php;
  17.         fastcgi_param SCRIPT_FILENAME /var/www/poweradmin$fastcgi_script_name;
  18.     }
  19. }
  20.  
Language: bash
Posted by Anonymous at 13 Oct 2012, 07:17:37 UTC