Logo
Explore Help
Register Sign In
valknar/stacks
1
0
Fork 0
You've already forked stacks
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
15f62b9e5516fc425312324e819db544637261d0
stacks/api/auth.conf.template

10 lines
154 B
Plaintext
Raw Normal View History

Add api stack with freepik and facefusion behind forwardAuth Traefik routes api.pivoine.art/freepik and /facefusion to their respective containers with path rewriting, shared API token auth via an nginx sidecar, and api-rate-limit middleware. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:51:06 +01:00
server {
listen 8080;
location / {
if ($http_x_api_key != '${API_TOKEN}') {
return 401;
}
return 200;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 21ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API