Robust
Well-known member
Hi,
I have https://static.gamingforums.net for static content, and my actual site is set to https://www.gamingforums.net which I'd assume would work, but it doesn't.
Pingdom and Google Developers tests say that cookies are being set on static.gamingforums.net, I'm not sure why? The changes I made are:
config.php
And obviously to the style in Style Properties.
Also, apparently leverage browser caching isn't working either. My static nginx site block is the following:
I have https://static.gamingforums.net for static content, and my actual site is set to https://www.gamingforums.net which I'd assume would work, but it doesn't.
Pingdom and Google Developers tests say that cookies are being set on static.gamingforums.net, I'm not sure why? The changes I made are:
config.php
Code:
$config['externalDataUrl'] = 'https://static.gamingforums.net/data';
$config['javaScriptUrl'] = 'https://static.gamingforums.net/js';
And obviously to the style in Style Properties.
Also, apparently leverage browser caching isn't working either. My static nginx site block is the following:
Code:
server {
listen 443 spdy;
root /var/www/gamingforums;
server_name static.gamingforums.net;
ssl on;
ssl_certificate /my/ssl/cert;
ssl_certificate_key /my/ssl/key;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM;
location / {
deny all;
}
location ~ /data { expires 10d; }
location ~ /styles { expires 10d; }
location ~ /js { expires 10d; }
}