Fix nginx conf

This commit is contained in:
2023-02-15 19:28:07 +11:00
parent 3db28ab622
commit 6f761ae956

View File

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