Skip to content
Snippets Groups Projects
Commit d9b28d09 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Dockerisation

parent 06962b2d
Branches
Tags
1 merge request!23V8
Listen 80
Listen 8443
\ No newline at end of file
<VirtualHost *:8443>
ServerName ose.localhost
#ServerAlias octopass.localhost
DocumentRoot /var/www/ose/public
Header always set Strict-Transport-Security "max-age=15768000;includeSubdomains;"
SetEnv APPLICATION_ENV "development"
<Directory /var/www/ose/public>
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</VirtualHost>
<VirtualHost *:80>
ServerName ose.localhost
ServerAlias ose.localhost
DocumentRoot /var/www/ose/public
SetEnv APPLICATION_ENV "development"
<Directory /var/www/ose/public>
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)?$ https://%{SERVER_NAME}:8443$1 [R=301,L]
</IfModule>
</VirtualHost>
\ No newline at end of file
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.enable=1
date.timezone = Europe/Paris
log_errors = On
display_startup_errors = On
display_errors = On
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.profiler_enable_trigger = 1
xdebug.var_display_max_children = 1024
xdebug.var_display_max_data = 1024
xdebug.max_nesting_level = 256
# Attention: trop diminuer 'max_nesting_level' peut causer une erreur 'Maximum function nesting level of x reached'
#xdebug.collect_params = 4
apc.enabled = 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment