Kulga
Hey, apologies if posting this in wrong section, what I would like to do is send you a PM but do not think thats implemented yet.
I also have a Nginx setup on Ubuntu 16.04 and have just create a free lets-encrypt sll cert.
I believe I have the site-enabled configure correctly, however the site is not displaying everything correctly.
It kind of looks like it does when you forget to end a DIV on the Custom CSS section. Just white, I can see the logo.
Is there something else I need to configure in order to make the page show correctly?
See:
https://keys-daggers.org
My Nginx config:
server {
listen 80;
root /var/www/keysdaggers;
server_name www.keys-daggers.org keys-daggers.org 37.120.184.139;
return 301 https://$server_name$request_uri;
}
server {
root /var/www/keysdaggers;
index index.php index.html index.htm;
error_log /var/log/nginx/error.log error;
# SSL configuration
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
include snippets/snakeoil.conf;
include snippets/ssl-params.conf;
location / { try_files $uri $uri/ /index.php?$query_string; }
location /api { try_files $uri $uri/ /api.php?$query_string; }
location /admin { try_files $uri $uri/ /admin.php?$query_string; }
location /flarum {
deny all;
return 404;
}
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass unix:/var/run/php7-fpm.keysdaggers.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~* \.html$ {
expires -1;
}
}
location ~* \.(css|js|gif|jpe?g|png)$ {
expires 1M;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
gzip on;
gzip_http_version 1.1;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types application/atom+xml
application/javascript
application/json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/plain
text/xml;
gzip_buffers 16 8k;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
}
Any help would be greatly appreciated. FYI I used webeindustries install script:
https://raw.githubusercontent.com/webeindustry/flarumvpsinstallscript/patch-1/script