mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-16 10:03:03 -07:00
Create mytinytodo.subfolder.conf.example
This commit is contained in:
parent
dc800b8e2c
commit
4f58b29d5d
1 changed files with 11 additions and 0 deletions
11
mytinytodo.subfolder.conf.example
Normal file
11
mytinytodo.subfolder.conf.example
Normal file
|
@ -0,0 +1,11 @@
|
|||
# set the mtt_url config in db/config.php
|
||||
|
||||
location ^~ /todo {
|
||||
return 301 $scheme://$host/todo/;
|
||||
}
|
||||
|
||||
location ^~ /todo/ {
|
||||
include /config/nginx/proxy.conf;
|
||||
set $upstream_mytinytodo mytinytodo;
|
||||
proxy_pass http://$upstream_mytinytodo:80/;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue