diff --git a/web/app/Filament/Resources/DomainResource.php b/web/app/Filament/Resources/DomainResource.php index c030baa..5700ee6 100644 --- a/web/app/Filament/Resources/DomainResource.php +++ b/web/app/Filament/Resources/DomainResource.php @@ -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(), diff --git a/web/app/Models/Domain.php b/web/app/Models/Domain.php index 09d439a..2e07d80 100644 --- a/web/app/Models/Domain.php +++ b/web/app/Models/Domain.php @@ -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); diff --git a/web/resources/views/actions/samples/ubuntu/apache2-conf.blade.php b/web/resources/views/actions/samples/ubuntu/apache2-conf.blade.php index 1b04197..dde3e0a 100644 --- a/web/resources/views/actions/samples/ubuntu/apache2-conf.blade.php +++ b/web/resources/views/actions/samples/ubuntu/apache2-conf.blade.php @@ -40,6 +40,7 @@ @if (!empty($proxyPass)) ProxyPass / {{$proxyPass}} + ProxyPassReverse / {{$proxyPass}} @endif