OttoFMS - Failed installation on Ubuntu

I have Ubutnu 22.04 with FMS 21.x.
I have installed the latest version of OttoFMS v2, but hostname/otto/ does not work.
I have checked the log and it seems it uses Nginx, but we are using HTTPServer.
Do you have some way how to direct it into correct folder for the proxy setup?

Hey Lukas,

Just to clarify: You’re using a custom HTTP Server rather than the built in FileMaker Server NGINX setup on Ubuntu?

-Kyle

Yes, it is HTTPServer instead of Nginx.
Is there a way to change it in the config of OttoFMS, or we need to change it from HTTPServer to Nginx?

Hey Lukas,

OttoFMS does not support non-standard HTTP servers out of the box. However, the HTTP server configuration OttoFMS needs is relatively simple. I’ve put the config we use in NGINX below, you can feel free to replicate it in your HTTPServer config. Essentially it is just a reverse proxy from the /otto/ path to localhost:3061/otto:

location ^~ /otto/ {	
client_body_buffer_size 16k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

proxy_http_version 1.1;
proxy_set_header   "Connection" "";
	
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_hide_header Access-Control-Allow-Origin ;
add_header Access-Control-Allow-Origin * always;
proxy_hide_header Cross-Origin-Resource-Policy;
add_header Cross-Origin-Resource-Policy cross-origin always;
proxy_pass http://127.0.0.1:3061/otto/;
}

I am not familiar with HTTPServer, but replicating this setup in it should allow OttoFMS to work. For best results (and to ensure any future changes we make to the NGINX server are updated on your servers), I would use NGINX. Do you mind me asking why y’all are using HTTPServer instead?

-Kyle