FiveM server cache server help

Server Artifact Version: 4272
Operating System (Windows/Linux): Linux
Server config (server.cfg):
endpoint_add_tcp “0.0.0.0:30133”
endpoint_add_udp “0.0.0.0:30133”
fileserver_remove “."
fileserver_add ".
” “http://192.168.10.73:8088/files
fileserver_list
Describe your issue : If i dont enable the fileserver everything works but i need a fileserver and i dont know how to set it up.
What have you tried? added the lines above on my server.cfg and added
**
proxy_cache_path /srv/cache levels=1:2 keys_zone=assets:48m max_size=10g ;
log_format asset ‘$remote_addr - [$time_local] “$request” $status $body_bytes_sent $upstream_cache_status’;

server {
listen 8088;

    location /files/ {
            access_log /dev/stdout asset;
            add_header X-Cache-Status $upstream_cache_status;
            proxy_cache_lock on;
            proxy_pass http://192.168.10.157:30133$request_uri;
            proxy_cache assets;
            proxy_cache_valid 1y;
            proxy_cache_key $request_uri$is_args$args;
    }

}
in my NGINX server {nginx version: nginx/1.21.1}

I am on the same LAN as my NGINX server and my FiveM server and i still cant connect to the server

When i connect to : http://192.168.10.73:8088/files it says that the connection is refused(8088 is allowed) and i dont know what to do anymore

Moved to #server-development:server-discussion

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.