server {
listen 443 default ssl;
server_name dns.nanl.de;
root /var/www/poweradmin;
index index.php;
ssl_certificate /etc/ssl/certs/nanl_services.crt;
ssl_certificate_key /etc/ssl/private/nanl_services.key;
ssl_client_certificate /etc/ssl/certs/nanl_clients.ca;
ssl_verify_client on;
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/poweradmin$fastcgi_script_name;
}
}
Language: bash
Posted by Anonymous at 13 Oct 2012, 07:17:37 UTC