parent
2b0b6021eb
commit
1b0584a8f6
10 changed files with 0 additions and 105 deletions
@ -1,75 +0,0 @@ |
|||||||
# Virtual Hosts |
|
||||||
# |
|
||||||
# Required modules: mod_log_config |
|
||||||
|
|
||||||
# If you want to maintain multiple domains/hostnames on your |
|
||||||
# machine you can setup VirtualHost containers for them. Most configurations |
|
||||||
# use only name-based virtual hosts so the server doesn't need to worry about |
|
||||||
# IP addresses. This is indicated by the asterisks in the directives below. |
|
||||||
# |
|
||||||
# Please see the documentation at |
|
||||||
# <URL:http://httpd.apache.org/docs/2.4/vhosts/> |
|
||||||
# for further details before you try to setup virtual hosts. |
|
||||||
# |
|
||||||
# You may use the command line option '-S' to verify your virtual host |
|
||||||
# configuration. |
|
||||||
|
|
||||||
# |
|
||||||
# VirtualHost example: |
|
||||||
# Almost any Apache directive may go into a VirtualHost container. |
|
||||||
# The first VirtualHost section is used for all requests that do not |
|
||||||
# match a ServerName or ServerAlias in any <VirtualHost> block. |
|
||||||
# |
|
||||||
<VirtualHost *:80> |
|
||||||
ServerName test.local |
|
||||||
ServerAlias *.local |
|
||||||
VirtualDocumentRoot /var/www/html/%-2/public_html |
|
||||||
CustomLog /var/www/html/access.log vhost_combined |
|
||||||
ErrorLog /var/www/html/error.log |
|
||||||
Options +FollowSymLinks |
|
||||||
php_flag session.auto_start off |
|
||||||
php_value max_execution_time 18000 |
|
||||||
php_flag suhosin.session.cryptua off |
|
||||||
</VirtualHost> |
|
||||||
|
|
||||||
#<VirtualHost *:443> |
|
||||||
# ServerName test.local |
|
||||||
# ServerAlias *.local |
|
||||||
# VirtualDocumentRoot /var/www/html/%-2/public_html |
|
||||||
# CustomLog /var/www/html/access.log vhost_combined |
|
||||||
# ErrorLog /var/www/html/error.log |
|
||||||
# Options +FollowSymLinks |
|
||||||
# php_flag session.auto_start off |
|
||||||
# php_value max_execution_time 18000 |
|
||||||
# php_flag suhosin.session.cryptua off |
|
||||||
# SSLEngine On |
|
||||||
# #SSLCertificateFile /var/www/html/root-ca/certs/local.cert.pem |
|
||||||
# #SSLCertificateKeyFile /var/www/html/root-ca/private/local.key.pem |
|
||||||
#</VirtualHost> |
|
||||||
|
|
||||||
<VirtualHost *:80> |
|
||||||
ServerName test.local.jh |
|
||||||
ServerAlias *.local.jh |
|
||||||
VirtualDocumentRoot /var/www/html/%-3/public_html |
|
||||||
CustomLog /var/www/html/access.log vhost_combined |
|
||||||
ErrorLog /var/www/html/error.log |
|
||||||
Options +FollowSymLinks |
|
||||||
php_flag session.auto_start off |
|
||||||
php_value max_execution_time 18000 |
|
||||||
php_flag suhosin.session.cryptua off |
|
||||||
</VirtualHost> |
|
||||||
|
|
||||||
<VirtualHost *:443> |
|
||||||
ServerName test.local.jh |
|
||||||
ServerAlias *.local.jh |
|
||||||
VirtualDocumentRoot /var/www/html/%-3/public_html |
|
||||||
CustomLog /var/www/html/access.log vhost_combined |
|
||||||
ErrorLog /var/www/html/error.log |
|
||||||
Options +FollowSymLinks |
|
||||||
php_flag session.auto_start off |
|
||||||
php_value max_execution_time 18000 |
|
||||||
php_flag suhosin.session.cryptua off |
|
||||||
SSLEngine On |
|
||||||
SSLCertificateFile /var/www/html/root-ca/certs/local.cert.pem |
|
||||||
SSLCertificateKeyFile /var/www/html/root-ca/private/local.key.pem |
|
||||||
</VirtualHost> |
|
@ -1,20 +0,0 @@ |
|||||||
version: '3' |
|
||||||
services: |
|
||||||
php: |
|
||||||
container_name: php |
|
||||||
build: ./php/ |
|
||||||
volumes: |
|
||||||
- /home/jonathan/Sites/:/var/www/html/ |
|
||||||
- /home/jonathan/.dotfiles/docker/web/apache/sites-enabled/:/etc/apache2/sites-enabled |
|
||||||
ports: |
|
||||||
- 80:80 |
|
||||||
- 443:443 |
|
||||||
restart: always |
|
||||||
mysql: |
|
||||||
container_name: mysql |
|
||||||
image: mysql:5.6 |
|
||||||
ports: |
|
||||||
- 3306:3306 |
|
||||||
environment: |
|
||||||
MYSQL_ROOT_PASSWORD: root |
|
||||||
restart: always |
|
@ -1,5 +0,0 @@ |
|||||||
FROM php:7.3-apache |
|
||||||
|
|
||||||
RUN a2enmod rewrite vhost_alias ssl |
|
||||||
|
|
||||||
RUN docker-php-ext-install mysqli pdo pdo_mysql |
|
@ -1,5 +0,0 @@ |
|||||||
FROM php:%version%-apache |
|
||||||
|
|
||||||
RUN a2enmod rewrite vhost_alias ssl |
|
||||||
|
|
||||||
RUN docker-php-ext-install mysqli pdo pdo_mysql |
|
Loading…
Reference in new issue