aboutsummaryrefslogtreecommitdiff
path: root/config/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/nginx.conf')
-rw-r--r--config/nginx.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/nginx.conf b/config/nginx.conf
new file mode 100644
index 0000000..d2db15e
--- /dev/null
+++ b/config/nginx.conf
@@ -0,0 +1,17 @@
+server {
+
+ location ~ /(login|register|account|launchpad)/ {
+ proxy_pass http://styx:5000/;
+ }
+
+ location ~ /(oauth2/(auth|revoke|sessions/logout|token)|userinfo|\.well-known/(openid-configuration|jwks\.json))/ {
+ proxy_pass http://hydra:5533/;
+ }
+
+ location /self-service/ {
+ proxy_pass http://kratos:4433;
+ }
+
+ root /my/static/site;
+
+}