This commit is contained in:
2024-02-28 16:15:15 +01:00
parent 0f6a0a1ff0
commit 537ef4be7e
17 changed files with 107 additions and 34 deletions

View File

@ -57,6 +57,13 @@ server {
location ~ /\.(?!well-known).* {
deny all;
}
#location /api/pixelfed/v1/accounts/664033260845064193 {
# sub_filter '"is_admin":true' '"is_admin":false';
#}
#location ~ /api/pixelfed/v1/accounts/664532712418222892 {
# sub_filter '"is_admin":false' '"is_admin":true';
#}
}
server { # Redirect http to https

View File

@ -1,13 +0,0 @@
server {
listen 8083;
location / {
#proxy_http_version 1.1;
proxy_pass http://127.0.0.1:5283;
#proxy_set_header Host www.ecosia.org;
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Proto $scheme;
#proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Connection "upgrade";
}
}