Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge branch 'next' into shadow/fix-typo-slash-proxy-page

Andras Bacsai7549b432ef90
diff --cc resources/views/livewire/server/proxy.blade.php
index 256f43e76a,aa6b9b7cd2..a20bdb02e0
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@@ -53,26 -72,12 +72,32 @@@
</div>
<div wire:loading.remove wire:target="loadProxyConfiguration">
@if ($proxySettings)
+ <div class="flex flex-col gap-2 pt-4">
+ <x-forms.textarea canGate="update" :canResource="$server" useMonacoEditor
+ monacoEditorLanguage="yaml"
+ label="Configuration file ( {{ $this->configurationFilePath }} )" name="proxySettings"
+ id="proxySettings" rows="30" />
+ @can('update', $server)
+ <x-modal-confirmation title="Reset Proxy Configuration?"
+ buttonTitle="Reset configuration to default" isErrorButton
+ submitAction="resetProxyConfiguration" :actions="[
+ 'Reset proxy configuration to default settings',
+ 'All custom configurations will be lost',
+ 'Custom ports and entrypoints will be removed',
+ ]"
+ confirmationText="{{ $server->name }}"
+ confirmationLabel="Please confirm by entering the server name below"
+ shortConfirmationLabel="Server Name" step2ButtonText="Reset Configuration"
+ :confirmWithPassword="false" :confirmWithText="true">
+ </x-modal-confirmation>
+ @endcan
+ </div>
+ <div class="flex flex-col gap-2 pt-2">
+ <x-forms.textarea canGate="update" :canResource="$server" useMonacoEditor
+ monacoEditorLanguage="yaml"
+ label="Configuration file ({{ $this->configurationFilePath }})" name="proxySettings"
+ id="proxySettings" rows="30" />
+ </div>
@endif
</div>
</form>