Fix nginx conf
This commit is contained in:
@@ -23,10 +23,13 @@ server {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rewrite ^/\.well-known/(host-meta|webfinger).* https://fed.brid.gy$request_uri? redirect;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
|
|
||||||
# If the file exists as a static file serve it directly without
|
# If the file exists as a static file serve it directly without
|
||||||
# running all the other rewrite tests on it
|
# running all the other rewrite tests on it
|
||||||
if (-f $request_filename) {
|
if (-f $request_filename) {
|
||||||
|
Reference in New Issue
Block a user