I have no images or styling as described in the sticky

by flammenwurfer, Friday, February 17, 2017, 03:21 (515 days ago)

I have the issue that is described in the troubleshooting thread. However, selfoss looks and functions perfectly inside my LAN, but not when outside of it through a browser. The android app works great. Loading through a browser on android or a computer outside my network results in the no images or styling issue.

I am using nginx so I think the .htaccess file doesn't do anything and I'm not sure how to enable mod_rewrite and mod_headers with nginx. From my research I believe you achieve the same thing through the nginx.conf file with "try_files". Is that correct? Here is the relavent section of my nginx.conf:

location /selfoss {
root /usr/share/webapps;
access_log /var/log/nginx/rss.access.log;
error_log /var/log/nginx/rss.error.log;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;
location ~ ^/selfoss/((favicons|thumbnails)/.+)$ {
try_files /selfoss/data/$1 =404;
location ~ ^/selfoss/$ {
index index.php;
location ~ ^/selfoss/(.+)$ {
try_files /selfoss/public/$1 /selfoss/index.php$is_args$args;

Complete thread:

 RSS Feed of thread

powered by my little forum