We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0bb76 commit 17f412eCopy full SHA for 17f412e
README.md
@@ -355,14 +355,18 @@ server {
355
proxy_pass http://127.0.0.1:4180;
356
}
357
358
+ location /oauth2/ {
359
+ proxy_pass http://127.0.0.1:4180;
360
+ proxy_set_header Host $host;
361
+ proxy_set_header X-Real-IP $remote_addr;
362
+ proxy_set_header X-Scheme $scheme;
363
+ }
364
+
365
location / {
366
auth_request /oauth2/auth;
- error_page 401 = ...;
367
+ error_page 401 = https://example.com/oauth2/sign_in;
368
369
root /path/to/the/site;
- default_type text/html;
- charset utf-8;
- charset_types application/json utf-8;
370
371
372
```
0 commit comments