I am trying to use ResourceSpace as an alias on Nginx. Page scripts load, but static files do not load. Access to subdirectories gives an undefined index error
eximmanger downloads all scripts plus static files, while resourcepace does not download static files, loading only scripts
This is my configuration.
server { listen 80; server_name myserver.com www.myserver.com; server_name_in_redirect off; access_log /var/log/nginx/myserver.access_log main; error_log /var/log/nginx/myserver.error_log info; location /resourcespace { alias /var/www/html/ResourceSpace/; } location /eximmanager { alias /var/www/html/exim4u/exim4u/; } location /100/ { rewrite ^ http://100.myserver permanent; } location ~ ^/eximmanger/(.+\.*)$ { alias /var/www/html/exim4u/exim4u/$1; fastcgi_pass unix:/tmp/php.socket; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename;
source share