Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen *:80;
- listen *:443 ssl;
- ssl_certificate /var/www/clients/client2/web3/ssl/destinazionesogni.it.crt;
- ssl_certificate_key /var/www/clients/client2/web3/ssl/destinazionesogni.it.key;
- server_name destinazionesogni.it www.destinazionesogni.it;
- root /var/www/destinazionesogni.it/web;
- index index.html index.htm index.php index.cgi index.pl index.xhtml;
- error_log /var/log/ispconfig/httpd/destinazionesogni.it/error.log;
- access_log /var/log/ispconfig/httpd/destinazionesogni.it/access.log combined;
- location ~ /\. {
- deny all;
- access_log off;
- log_not_found off;
- }
- location = /favicon.ico {
- log_not_found off;
- access_log off;
- }
- location = /robots.txt {
- allow all;
- log_not_found off;
- access_log off;
- }
- location /stats {
- index index.html index.php;
- auth_basic "Members Only";
- auth_basic_user_file /var/www/clients/client2/web3/web/stats/.htpasswd_stats;
- }
- location ^~ /awstats-icon {
- alias /usr/share/awstats/icon;
- }
- location ~ \.php$ {
- try_files /1d0365f3ba2c94acc8d6a461a7d0f81d.htm @php;
- }
- location @php {
- try_files $uri =404;
- include /etc/nginx/fastcgi_params;
- fastcgi_pass 127.0.0.1:9012;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_intercept_errors on;
- }
- set $yii_bootstrap "index.php";
- charset utf-8;
- location / {
- index index.html $yii_bootstrap;
- try_files $uri $uri/ $yii_bootstrap?$args;
- }
- location ~ ^/(protected|yii|framework|themes/\w+/views) {
- deny all;
- }
- location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
- try_files $uri =404;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement