This commit is contained in:
Bozhidar 2024-04-27 01:26:31 +03:00
parent 234ac290b6
commit b7298698bd
3 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ class DomainResource extends Resource
->hidden(function (Get $get) {
return $get('server_application_type') !== 'apache_docker';
})
->label('Docker Contaier')
->label('Docker Container')
->options($dockerContainers)
->columns(5)
->required(),

View file

@ -288,7 +288,6 @@ class Domain extends Model
$apacheBaseConfig = $apacheVirtualHostBuilder->buildConfig();
dd($apacheBaseConfig);
if (!empty($apacheBaseConfig)) {
file_put_contents('/etc/apache2/sites-available/'.$this->domain.'.conf', $apacheBaseConfig);

View file

@ -40,6 +40,7 @@
@if (!empty($proxyPass))
ProxyPass / {{$proxyPass}}
ProxyPassReverse / {{$proxyPass}}
@endif