mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
Update nginx.conf
This commit is contained in:
parent
a993b05000
commit
337a139167
1 changed files with 1 additions and 4 deletions
|
@ -22,10 +22,7 @@ location / {
|
||||||
|
|
||||||
set $proxpass "http://127.0.0.1:__PORT_UI__";
|
set $proxpass "http://127.0.0.1:__PORT_UI__";
|
||||||
|
|
||||||
if ($http_accept ~ "^application/activity+json") {
|
if ($http_accept ~ "^application/.*$") {
|
||||||
set $proxpass "http://127.0.0.1:__PORT__";
|
|
||||||
}
|
|
||||||
if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") {
|
|
||||||
set $proxpass "http://127.0.0.1:__PORT__";
|
set $proxpass "http://127.0.0.1:__PORT__";
|
||||||
}
|
}
|
||||||
if ($request_method = POST) {
|
if ($request_method = POST) {
|
||||||
|
|
Loading…
Reference in a new issue