Quantcast
Channel: Lufi activity
Viewing all articles
Browse latest Browse all 124

jules Gelus opened issue #292: Upload button is grey behind ha proxy with pfs...

$
0
0

Hello, I am currently unable to upload files when going through the HAProxy on pfSense. On the pfSense side, I have added the following SSL options :

ssl_param

For the nginx file configuration :

server{listen80;# Adapt this to your domain!server_name;# nginx rootroot/var/www/html/lufi/;access_log/var/log/nginx/lufi.success.log;error_log/var/log/nginx/lufi.error.log;# taille maxiumum uploadclient_max_body_size10G;location/{# Add cache for static filesif($request_uri~*^/(img|css|font|js)/){add_headerExpires"Thu,31Dec203723:55:55GMT";add_headerCache-Control"public,max-age=315360000";}# HTTPS only header, improves security#add_header Strict-Transport-Security "max-age=15768000";# Adapt this to your configuration (port, subdirectory (see below))proxy_passhttp://127.0.0.1:8081;# Really important! Lufi uses WebSocket, it won't work without thisproxy_set_headerUpgrade$http_upgrade;proxy_set_headerConnection"upgrade";proxy_http_version1.1;proxy_set_headerHost;proxy_set_headerX-Real-IP;proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;# If you want to log the remote port of the file senders, you'll need thatproxy_set_headerX-Remote-Port$remote_port;proxy_set_headerX-Forwarded-Proto$scheme;# We expect the downstream servers to redirect to the right hostname, so don't do any rewrites here.proxy_redirectoff;}}

For the lufi config file, its the default file config i just changed this line :

proxy=>1,

Could you help me please ?


Viewing all articles
Browse latest Browse all 124

Trending Articles