Comments (3)
Unfortunately, I don't use Apache and I'm not sure what's the correct configuration. I think you can adapt the configuration suggested by Symfony (https://symfony.com/doc/current/setup/web_server_configuration.html#apache) as the requirements are similar.
from flus.
Hi,
I managed to make it working. I use a reverse proxy + installation in subpath mode.
Proxy config:
<VirtualHost *:80>
Protocols h2 h2c http/1.1
ServerAdmin <redacted>
ServerName <redacted>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
ErrorLog ${APACHE_LOG_DIR}/<redacted>/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/<redacted>/access.log combined
</VirtualHost>
<VirtualHost *:443>
Protocols h2 h2c http/1.1
ServerAdmin <redacted>
ServerName <redacted>
SSLEngine on
SSLCertificateFile <redacted>
SSLCertificateKeyFile <redacted>
Alias /proxy-errors /var/www/html/public/errors
ProxyPass /proxy-errors/ !
ProxyRequests Off
ProxyVia Off
<Proxy *>
Options -Indexes
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
ProxyPass /flusio http://<redacted>:8080/flusio/ retry=1 acquire=3000 timeout=600 Keepalive=On
ProxyPassReverse /flusio http://<redacted>:8080/flusio/
[...]
</VirtualHost>
Server config:
<VirtualHost *:8080>
Protocols h2 h2c http/1.1
ServerAdmin <redacted>
ServerName <redacted>
ErrorLog ${APACHE_LOG_DIR}/<redacted>/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/<redacted>/access.log combined
DocumentRoot /var/www/html
<Directory />
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Order allow,deny
allow from all
LimitRequestBody 0
</Directory>
<Location /flusio>
Options -Indexes -MultiViews +SymLinksIfOwnerMatch
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ index.php?/$1 [L,NC]
</Location>
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
ProxyRequests Off
ProxyPreservehost on
[...]
.env
# Must be the (sub)domain which will serve flusio
APP_HOST=<redacted>
# The next line can be uncommented and be set if you plan to serve flusio on a
# subpath.
APP_PATH=/flusio
from flus.
Thnaks for sharing your config! I've never installed flusio under a subpath, so I'm glad if it works well 👍
from flus.
Related Issues (20)
- Dossier de cache non créé par défaut? HOT 2
- Flus.fr - thème sombre HOT 1
- [Question] Moving to a popular framework HOT 1
- [feature-request] possibility to unread a link HOT 4
- [amélioration] Remettre le défilement là où il était après avoir effectué une action HOT 7
- Récupérer la durée des vidéos HOT 8
- Erreur 500 HOT 6
- Quid d'un flux XML qui ne s'annonce pas comme tel ? HOT 6
- Import en masse HOT 4
- Problème d'affichage des options de « Vider le journal » HOT 1
- Création de compte : pas de courriel de confirmation HOT 2
- Un lien relatif de type `application/rss+xml` suggère une adresse incorrecte de flux à suivre HOT 3
- Impossible d’installer xdebug avec php-7.4 (installation avec docker, pour le dévelopement) HOT 3
- Items en double HOT 2
- Flux HAL détecté seulement comme une page web HOT 4
- Unable to setup database HOT 5
- [UI/UX] Interface display is too big HOT 1
- [BUG] Images not loaded in news HOT 7
- [BUG] Feed not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flus.