1
0
Fork 0
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:
ericgaspar 2023-07-12 08:06:01 +02:00
parent a993b05000
commit 337a139167

View file

@ -22,10 +22,7 @@ location / {
set $proxpass "http://127.0.0.1:__PORT_UI__";
if ($http_accept ~ "^application/activity+json") {
set $proxpass "http://127.0.0.1:__PORT__";
}
if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") {
if ($http_accept ~ "^application/.*$") {
set $proxpass "http://127.0.0.1:__PORT__";
}
if ($request_method = POST) {