Skip to content
Snippets Groups Projects
Commit 7266ec54 authored by jurgenhaas's avatar jurgenhaas
Browse files

#68 Add support for invoice ninja

parent 6fde665c
No related branches found
Tags v3.7.55
1 merge request!82Merging develop into main
Pipeline #1157539 passed
......@@ -248,6 +248,7 @@ class Handler extends BaseHandler {
'$SSH_AUTH_SOCK';
}
$this->config->setValue('projectroot', $projectRoot, FALSE);
$this->config->setValue('projectrootfiles', $projectRoot, FALSE);
$this->config->setValue('projectdomain', str_replace('_', '-', $this->config->readValue('projectname')) . '.' . $traefik['domain'], FALSE);
$this->config->setValue('projectprotocol', 'http' . ($traefik['usessl'] ? 's' : ''), FALSE);
$this->config->setValue('socketprotocol', 'ws' . ($traefik['usessl'] ? 's' : ''), FALSE);
......@@ -633,6 +634,14 @@ class Handler extends BaseHandler {
'mailpitout.yml' => [
'dest' => $projectRoot . '/tests',
],
'hosts' => [
'source' => 'in/',
'dest' => $projectRoot . '/in',
],
'in-vhost.conf' => [
'source' => 'in/',
'dest' => $projectRoot . '/in',
],
];
$files['cypress.config.js'] = [
'source' => 'tests/',
......
192.168.0.124 in5.test
server {
listen 80 default_server;
server_name _;
client_max_body_size 100M;
root /var/www/app/public/;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass in-app:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment