-
Notifications
You must be signed in to change notification settings - Fork 0
/
proxy-half-stack.conf
14 lines (12 loc) · 1.64 KB
/
proxy-half-stack.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
events {
}
http {
server {
location /fl-api/ {
proxy_set_header Authorization "Bearer fakedata.ewogICAgImV4cCI6IDE2MDI3MzUyMTIsCiAgICAiaWF0IjogMTYwMjczNDMxMiwKICAgICJhdXRoX3RpbWUiOiAxNjAyNzMxMzM5LAogICAgImp0aSI6ICIjIyMjIyMtIyMjIy0jIyMjIiwKICAgICJpc3MiOiAiaHR0cHM6Ly9sb2dpbi5kc29wLmlvL2F1dGgvcmVhbG1zL2JhYnkteW9kYSIsCiAgICAic3ViIjogIiMjIyMjIy0jIyMjLSMjIyMiLAogICAgInR5cCI6ICJCZWFyZXIiLAogICAgImF6cCI6ICJwbGF0Zm9ybTFfYTg2MDRjYzktZjVlOS00NjU2LTgwMmQtZDA1NjI0MzcwMjQ1X2hlbGxvLXdvcmxkLWF1dGhzZXJ2aWNlIiwKICAgICJub25jZSI6ICIjIyMjIyMjIyMjIyMjIyMjIyMjIiwKICAgICJzZXNzaW9uX3N0YXRlIjogIiMjIyMjIy0jIyMjLSMjIyMiLAogICAgImFjciI6ICIwIiwKICAgICJzY29wZSI6ICIjIyMjICMjIyMjIyIsCiAgICAiZ3JvdXAtc2ltcGxlIjogWwogICAgICAgICIjIyMjIyMjIyMiLAogICAgICAgICIjIyMjIyMjIiwKICAgICAgICAiIyMjIyIKICAgIF0sCiAgICAicHJlZmVycmVkX3VzZXJuYW1lIjogInJlYWwtZGJhLXNudWZmeSIsCiAgICAiZ2l2ZW5fbmFtZSI6ICJKb2huIiwKICAgICJhY3RpdmVjYWMiOiAiIiwKICAgICJhZmZpbGlhdGlvbiI6ICJVUyBBaXIgRm9yY2UiLAogICAgImdyb3VwLWZ1bGwiOiBbCiAgICAgICAgIiMjIyMjIyMjIyMvIyMjIyMjIyMvIyMjIyMjIyMjIiwKICAgICAgICAiIyMjIyMjIyMjIy8jIyMjIyMjIy8jIyMjIyMjIiwKICAgICAgICAiIyMjIyMjIyMjIy8jIyMjIyMjIy8jIyMjIgogICAgXSwKICAgICJvcmdhbml6YXRpb24iOiAiUGxhdGZvcm0gT25lIiwKICAgICJuYW1lIjogIkpvaG4gU251ZmZ5IiwKICAgICJuaWNrbmFtZSI6ICJUaGUgU251ZmZtYXN0ZXIiLAogICAgInVzZXJjZXJ0aWZpY2F0ZSI6ICIjIyMjIyMjIyMjIyMjIyMjIyMiLAogICAgInJhbmsiOiAiU3JBIiwKICAgICJwb3NpdGlvbiI6ICJTb2Z0d2FyZSBEZXZlbG9wZXIiLAogICAgImZhbWlseV9uYW1lIjogIlNudWZmeSIsCiAgICAiZW1haWwiOiAiam9obi5zbnVmZnlAZmFrZW5hbWUuY29tIgp9";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://fl-api:8080/;
}
}
}