mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
Update recipes.subdomain.conf.sample
Updated links that were invalid and a working recipes reverse proxy. More information can be found in the discussion here https://github.com/vabene1111/recipes/discussions/341
This commit is contained in:
parent
77a6dee131
commit
b73c41fcff
1 changed files with 11 additions and 11 deletions
|
@ -1,14 +1,9 @@
|
|||
## Version 2020/12/09
|
||||
## Version 2021/01/21
|
||||
# make sure that your dns has a cname set for recipes
|
||||
# make sure to set VIRTUAL_HOST in your .env file
|
||||
|
||||
# make sure to set up the Recipes.conf file in your recipes nginx folder.
|
||||
# Doc: https://github.com/vabene1111/recipes/blob/develop/docs/docker/nginx-proxy/nginx/conf.d/Recipes.conf
|
||||
# make sure to mount /media/ in your swag container to point to your Recipes Media directory
|
||||
|
||||
# if using Authelia use this one:
|
||||
# Doc: https://github.com/vabene1111/recipes/blob/develop/docs/docker/nginx-proxy%20with%20proxy%20authentication/nginx/conf.d/Recipes.conf
|
||||
|
||||
# if enabling auth, make sure to enable REVERSE_PROXY_AUTH in your .env file
|
||||
# Doc: https://vabene1111.github.io/recipes/install/docker/#using-proxy-authentication
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
|
@ -26,6 +21,11 @@ server {
|
|||
# enable for Authelia
|
||||
#include /config/nginx/authelia-server.conf;
|
||||
|
||||
# serve media files
|
||||
location /media/ {
|
||||
alias /media/;
|
||||
}
|
||||
|
||||
location / {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
|
@ -40,8 +40,8 @@ server {
|
|||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app nginx_recipes;
|
||||
set $upstream_port 80;
|
||||
set $upstream_app recipes;
|
||||
set $upstream_port 8080;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue