I'm very much interested in this too. Currently I use this nginx location:
Quote:
location /webmail {
root /var/www/;
index index.php index.html index.htm;
location ~ ^/webmail/(.+\.php)$ {
try_files $uri =404;
root /var/www/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_scrip$
include /etc/nginx/fastcgi_params;
fastcgi_buffer_size 128k;
fastcgi_buffers 256 4k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
}
location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|t$
root /var/www/;
}
}
|
BUT I need to have a subdomain webmail pointing to /var/www/webmail for the simple reason that for most of my domains use CloudFlare (the free version which doesn't support HTTPS) and so I can't enable HTTPS for domain.tld only for i.e. webmail.domain.tld and bypass CloudFlare for that subdomain.
Any ideas on how to do this with ISPCFG3+nginx?
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 19 hours ago