Skip to content

Commit

Permalink
Update reverse-proxies.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lastsamurai26 authored Jan 17, 2024
1 parent 78e9319 commit 05bbd1c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/docker/reverse-proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ labels:
- "traefik.http.routers.name-ui.entrypoints=https"
- "traefik.http.routers.name-ui.tls=true"
- "traefik.http.routers.name-ui.tls.certresolver=le"
- "traefik.http.routers.name-ui.service=yrtree-ui"
- "traefik.http.services.name-ui.loadBalancer.server.port=443"
- "traefik.http.services.name-ui.loadbalancer.server.scheme=https"
- "traefik.http.routers.name-ui.middlewares=name-head,default@file"
- "traefik.http.middlewares.name-head.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.middlewares.name-head.headers.customResponseHeaders.X-Robots-Tag=none"
Expand All @@ -19,6 +22,9 @@ labels:
```
Start your Docker Compose and navigate to your "persistent storage" and
change the .env search for FORCE_HTTPS=false (line 85) and set this to "true"
For this to work, the following must be set in the Traefik Config (static config)
serversTransport:
insecureSkipVerify: true

## Nginx
Make sure to use HTTPS to access your container to avoid mixed content errors
Expand Down Expand Up @@ -54,4 +60,4 @@ server {
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
}
}
```
```

0 comments on commit 05bbd1c

Please sign in to comment.