adjust for local use: change to mariadb:5.5,redirect to server http host
This commit is contained in:
parent
db400e4a38
commit
574c7fe92a
3 changed files with 12 additions and 13 deletions
|
|
@ -1,18 +1,20 @@
|
|||
name: help.verua.ch
|
||||
name: os-ticket
|
||||
type: php
|
||||
docroot: ""
|
||||
php_version: "7.4"
|
||||
webserver_type: nginx-fpm
|
||||
webserver_type: apache-fpm
|
||||
xdebug_enabled: false
|
||||
additional_hostnames: []
|
||||
additional_fqdns: []
|
||||
database:
|
||||
type: mariadb
|
||||
version: "10.11"
|
||||
version: "5.5"
|
||||
use_dns_when_possible: true
|
||||
composer_version: "2"
|
||||
web_environment: []
|
||||
corepack_enable: false
|
||||
xhgui_https_port: "8142"
|
||||
xhgui_http_port: "8143"
|
||||
|
||||
# Key features of DDEV's config.yaml:
|
||||
|
||||
|
|
|
|||
10
index.html
10
index.html
|
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="2 url=http://help.verua.ch/help_FR/?&lang=de">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
7
index.php
Normal file
7
index.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Redirect to french includes, but use german language
|
||||
* Only french includes (and DB are being used therefore)
|
||||
*/
|
||||
header('Location: https://'.$_SERVER['HTTP_HOST'].'/help_FR/?&lang=de');
|
||||
Loading…
Add table
Add a link
Reference in a new issue