mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 22:46:16 -04:00
Minor style updates, add business contact page
This commit is contained in:
parent
d235f6a9c4
commit
f181d98e38
7 changed files with 65 additions and 15 deletions
46
src/business.html
Normal file
46
src/business.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Caddy for Business</title>
|
||||
{{include "/includes/head.html"}}
|
||||
<link rel="stylesheet" href="/resources/css/business.css">
|
||||
<meta property="og:title" content="Caddy 2 for Business">
|
||||
<meta name="twitter:title" value="Caddy 2 for Business">
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<div id="logo-container">
|
||||
<a href="/"><img src="/resources/images/caddy-wordmark.svg" id="logo" alt="Caddy"></a>
|
||||
</div>
|
||||
{{include "/includes/header-nav.html"}}
|
||||
</header>
|
||||
|
||||
<h1>Ready for business</h1>
|
||||
|
||||
<section>
|
||||
<div class="panels">
|
||||
<div>
|
||||
<h2>Need help with something?</h2>
|
||||
<p>
|
||||
Most users should participate in our <a href="https://caddy.community">community forum</a> to help others and ask questions.
|
||||
</p>
|
||||
<p>
|
||||
The only price for this help is to put some effort into your question and say thank you. 😃
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Support and development for businesses</h2>
|
||||
<p>
|
||||
We highly recommend that companies using Caddy get a support plan and contract any related development work with our exclusive partner <a href="https://www.ardanlabs.com/">Ardan Labs</a>. Contact us to get started:
|
||||
</p>
|
||||
<a href="mailto:b%75s%69%6Eess@ca%64dyse%72ver.c%6Fm" class="button red">Email <b>business@caddyserver.com</b></a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{{include "/includes/footer.html"}}
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -65,14 +65,16 @@ Create a user named `caddy`, with a writeable home folder:
|
|||
--comment "Caddy web server" \
|
||||
caddy</code></pre>
|
||||
|
||||
If using a config file, be sure it is readable by the `caddy` user you just created.
|
||||
|
||||
Next, [choose a systemd service file](https://github.com/caddyserver/dist/blob/master/init) based on your use case:
|
||||
|
||||
- [**`caddy.service`**](https://github.com/caddyserver/dist/blob/master/init/caddy.service) if you configure Caddy with a file.
|
||||
- [**`caddy-api.service`**](https://github.com/caddyserver/dist/blob/master/init/caddy-api.service) if you configure Caddy solely through its API.
|
||||
|
||||
They are very similar but with minor differences in the ExecStart and ExecReload commands to accommodate your workflow. Customize the file accordingly.
|
||||
They are very similar but have minor differences in the ExecStart and ExecReload commands to accommodate your workflow. Customize the file accordingly.
|
||||
|
||||
**Double-check the `ExecStart` and `ExecReload` directives.** Make sure the binary's location and command line arguments are correct for your installation!
|
||||
**Double-check the `ExecStart` and `ExecReload` directives.** Make sure the binary's location and command line arguments are correct for your installation! For example: if using a config file, change your `--config` path if it is different from our example.
|
||||
|
||||
The usual place to save the service file is: `/etc/systemd/system/caddy.service`
|
||||
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
<a href="https://github.com/caddyserver/caddy">GitHub</a>
|
||||
<a href="https://caddy.community">Community</a>
|
||||
<a href="/v1/">v1</a>
|
||||
<a href="https://www.ardanlabs.com/my/contact-us?dd=caddy" class="red button">For business</a>
|
||||
<a href="/business" class="red button">For business</a>
|
||||
</nav>
|
|
@ -109,7 +109,7 @@ header nav .button {
|
|||
.button {
|
||||
border-radius: 2em;
|
||||
padding: 10px 20px;
|
||||
margin: 15px 30px 15px 0;
|
||||
margin: 15px 0;
|
||||
height: auto;
|
||||
transition: all .2s;
|
||||
text-decoration: none;
|
||||
|
@ -134,7 +134,7 @@ header nav .button {
|
|||
}
|
||||
|
||||
.button.blue {
|
||||
background-color: #009ae6;
|
||||
background-color: #0082d0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
@ -168,12 +168,20 @@ article a:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
font-family: 'PT Mono', 'Source Code Pro', monospace;
|
||||
padding: 3px 6px;
|
||||
font-size: 95%;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 100px;
|
||||
padding: 0 50px 100px;
|
||||
padding-bottom: 100px;
|
||||
line-height: 125%;
|
||||
}
|
||||
|
||||
|
|
|
@ -335,14 +335,6 @@ h5 {
|
|||
background-color: rgba(0, 0, 0, .075);
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
font-family: 'PT Mono', 'Source Code Pro', monospace;
|
||||
padding: 3px 6px;
|
||||
font-size: 95%;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #e9f1fb;
|
||||
border-radius: 5px;
|
||||
|
|
|
@ -138,7 +138,6 @@ code.rest {
|
|||
}
|
||||
|
||||
iframe.github-stars {
|
||||
margin-left: 20px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue