From 114c16a36f2de7730483abff62e6bcfff59561dd Mon Sep 17 00:00:00 2001 From: aptalca Date: Mon, 12 Feb 2018 15:22:27 -0500 Subject: [PATCH] Add reverse proxy info --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/readme.md b/readme.md index e41d298e..7fc51548 100644 --- a/readme.md +++ b/readme.md @@ -99,6 +99,19 @@ location /webfonts { ``` If there are any other locations which might interefere with any of the folders in the /public folder, you might have to do the same for those as well, but it's a super fringe case. +### Reverse proxy +If you'd like to reverse proxy this app, we recommend using our letsencrypt/nginx docker image: [Letsencrypt/Nginx](https://hub.docker.com/r/linuxserver/letsencrypt/) +You can either reverse proxy from the root location, or from a subdomain (subfolder method is currently not supported). For https proxy, make sure you use the https port of Heimdall webserver, otherwise some links may break. You can add security through `.htpasswd` + +``` +location / { + auth_basic "Restricted"; + auth_basic_user_file /config/nginx/.htpasswd; + include /config/nginx/proxy.conf; + proxy_pass https://heimdall:443; +} +``` + ## Credits - PHP Framework - [Laravel](https://laravel.com/) - Icons - [FonteAwesome 5](https://fontawesome.com/)