Your comments

I can't find any PHP server variable that output http://cloud.tro/ instead of so I am thinking that it is a FileRun issue. The work around works fine for me.

I was able to fix it by adding a sub_filter to my openresty config

sub_filter http://cloud.tro/;

sub_filter_once off;


outputs: /info.php

I have even tried it with Apache it still has the same issue

I have it setup as a sub domain in nginx with it pointing to the FileRun directory not a reverse proxy. OpenResty is basically nginx with a the ability to run lua scripts.

------------------------- Here is my openresty(nginx) virtual server config --------------------------

server {
    listen 8080;

    root /var/www/html/filerun;

    index index.php;

    ### If you changed the maximum upload size in PHP.ini, also change it below
    client_max_body_size 16G;
    # Prevent Clickjacking

    add_header X-Frame-Options "SAMEORIGIN";
    add_header Strict-Transport-Security "max-age=16070400; includeSubdomains";
    keepalive_requests 10;
    keepalive_timeout 60 60;
    access_log /var/log/nginx/access_pydio7.log;
    error_log /var/log/nginx/error_pydio7.log;
    client_body_buffer_size 128k;

    # Forward PHP so that it can be executed
    location ~ \.php$ {
            fastcgi_param GATEWAY_INTERFACE CGI/1.1;
            fastcgi_param SERVER_SOFTWARE nginx;
            fastcgi_param QUERY_STRING $query_string;
            fastcgi_param REQUEST_METHOD $request_method;
            fastcgi_param CONTENT_TYPE $content_type;
            fastcgi_param CONTENT_LENGTH $content_length;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param SCRIPT_NAME $fastcgi_script_name;
            fastcgi_param REQUEST_URI $request_uri;
            fastcgi_param DOCUMENT_URI $document_uri;
            fastcgi_param DOCUMENT_ROOT $document_root;
            fastcgi_param SERVER_PROTOCOL $server_protocol;
            fastcgi_param REMOTE_ADDR $remote_addr;
            fastcgi_param REMOTE_PORT $remote_port;
            fastcgi_param SERVER_ADDR $server_addr;
            fastcgi_param SERVER_PORT $server_port;
            fastcgi_param SERVER_NAME $server_name;
            try_files $uri =404;
            fastcgi_pass unix:/run/php/php7.1-fpm.sock;

------------------------- Here is my  customizables/config.php ------------------------------------

$config['url']['root'] = '';
$config['app']['api']['oauth2']['allow_over_http'] = true;
$config['app']['ui']['enable_favicon_ico'] = true;  

here is a test folder shared by a like when you click on the link it will open the folder. But the image previews don't work and when you click on a file inside of the folder it will not work