ServerAdmin clovis@jaquin.fr
ServerName bdlg-planner.jaquin.fr
DocumentRoot /home/clovis/bdlg-2023/www
AllowOverride All
Redirect 301 / https://bdlg-planner.jaquin.fr/
RewriteEngine on
RewriteCond %{SERVER_NAME} =bdlg-planner.jaquin.fr
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerAdmin clovis@jaquin.fr
ServerName bdlg-planner.jaquin.fr
DocumentRoot /home/clovis/bdlg-2023/www
ProxyPreserveHost On
ProxyRequests off
ProxyPass /api/ http://127.0.0.1:8071/
ProxyPassReverse /api/ http://127.0.0.1:8071/
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/api
RewriteRule . /index.html [L]
Require all granted
Order allow,deny
Allow from all
SSLCertificateFile /etc/letsencrypt/live/bdlg-planner.jaquin.fr/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/bdlg-planner.jaquin.fr/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
ErrorLog ${APACHE_LOG_DIR}/bdlg2023_error.log
LogLevel debug
CustomLog ${APACHE_LOG_DIR}/bdlg2023_access.log combined