mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-09-26 10:34:51 +09:00
18 lines
771 B
Plaintext
18 lines
771 B
Plaintext
## Version 2026/07/19 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/tinyauth-server.conf.sample
|
|
# Make sure that your tinyauth container is in the same user defined bridge network and is named tinyauth
|
|
# Rename /config/nginx/proxy-confs/tinyauth.subdomain.conf.sample to /config/nginx/proxy-confs/tinyauth.subdomain.conf
|
|
|
|
# location for tinyauth auth requests
|
|
location /tinyauth {
|
|
internal;
|
|
|
|
include /config/nginx/proxy.conf;
|
|
include /config/nginx/resolver.conf;
|
|
set $upstream_tinyauth tinyauth;
|
|
proxy_pass http://$upstream_tinyauth:3000/api/auth/nginx;
|
|
|
|
proxy_set_header x-forwarded-proto $scheme;
|
|
proxy_set_header x-forwarded-host $http_host;
|
|
proxy_set_header x-forwarded-uri $request_uri;
|
|
}
|