File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ <Virtualhost *:80>
2+ ServerName ra
3+ ServerAdmin admin@dev.openconext.local
4+
5+ DocumentRoot /var/www/html/public
6+
7+ SetEnv HTTPS on
8+ SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
9+
10+ <Directory "/var/www/html/public">
11+ Require all granted
12+
13+ Options -MultiViews
14+ RewriteEngine On
15+ RewriteCond %{REQUEST_FILENAME} !-f
16+ RewriteRule ^(.*)$ index.php [QSA,L]
17+ </Directory>
18+ <Location />
19+ Require all granted
20+ </Location>
21+
22+ Header always set X-Content-Type-Options "nosniff"
23+
24+ # Set the php application handler so mod_php interpets the files
25+ <FilesMatch \.php$>
26+ SetHandler application/x-httpd-php
27+ </FilesMatch>
28+
29+ ExpiresActive on
30+ ExpiresByType font/* "access plus 1 year"
31+ ExpiresByType image/* "access plus 6 months"
32+ ExpiresByType text/css "access plus 1 year"
33+ ExpiresByType text/js "access plus 1 year"
34+ </VirtualHost>
Original file line number Diff line number Diff line change 11---
22services :
33 ra :
4- image : ghcr.io/openconext/openconext-basecontainers/${RA_PHP_IMAGE:-php72 -apache2-node14-composer2:latest}
4+ image : ghcr.io/openconext/openconext-basecontainers/${RA_PHP_IMAGE:-php82 -apache2-node14-composer2:latest}
55 volumes :
66 - ${RA_CODE_PATH}:/var/www/html
7+ - ./ra/appconf.conf:/etc/apache2/sites-enabled/000-default.conf
78 environment :
89 - APP_ENV=${APP_ENV:-dev}
910 - APP_DEBUG=true
You can’t perform that action at this time.
0 commit comments