-
Notifications
You must be signed in to change notification settings - Fork 42
reverse proxy
Jona Abdinghoff edited this page Jun 1, 2018
·
16 revisions
location /register {
alias resources/example.html;
limit_except POST {
proxy_pass http://localhost:5000;
}
}
If you want to create/disable/list tokens not just locally, but also over the internet you should also proxy pass the /token location.
location /token {
proxy_pass http://localhost:5000;
}
To access this URL you need to send a Authorization Header with your shared secret
Authorization: SharedSecret verysecuresecret