mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Make code snippets have a color
This commit is contained in:
parent
90276885bb
commit
b09546e12a
1 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ Now that the app works with a domain name, the server needs to be set up to use
|
||||||
Below are examples of reverse proxy configurations.
|
Below are examples of reverse proxy configurations.
|
||||||
|
|
||||||
### Nginx
|
### Nginx
|
||||||
```
|
```nginx
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
@ -58,7 +58,7 @@ sudo a2enmod headers
|
||||||
|
|
||||||
With the above commands entered, the configuration below should work properly.
|
With the above commands entered, the configuration below should work properly.
|
||||||
|
|
||||||
```
|
```apache
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName example.com
|
ServerName example.com
|
||||||
|
|
||||||
|
|
@ -95,7 +95,7 @@ docker network create dawarich
|
||||||
```
|
```
|
||||||
|
|
||||||
Adjust the following part of your Dawarich docker-compose.yaml, so that the web app is exposed to your new network and the backend Dawarich network:
|
Adjust the following part of your Dawarich docker-compose.yaml, so that the web app is exposed to your new network and the backend Dawarich network:
|
||||||
```
|
```yaml
|
||||||
networks:
|
networks:
|
||||||
dawarich:
|
dawarich:
|
||||||
frontend:
|
frontend:
|
||||||
|
|
@ -105,7 +105,7 @@ services:
|
||||||
```
|
```
|
||||||
|
|
||||||
Lastly, edit your Caddy config as needed:
|
Lastly, edit your Caddy config as needed:
|
||||||
```
|
```caddy
|
||||||
{
|
{
|
||||||
http_port 80
|
http_port 80
|
||||||
https_port 443
|
https_port 443
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue