You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
-
- <VirtualHost *:80>
- ServerName localhost
- DocumentRoot /app
-
- <Directory "/app">
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Require all granted
- allow from all
- </Directory>
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
-
- <VirtualHost _default_:443>
-
- DocumentRoot "/app"
- ServerName localhost:443
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- SSLEngine on
-
- SSLCertificateFile "/etc/apache2/sites-available/ssl/localhost.crt"
- SSLCertificateKeyFile "/etc/apache2/sites-available/ssl/localhost.key"
-
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
-
- <Directory "/app">
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Require all granted
- </Directory>
-
- </VirtualHost>
|