1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Merge pull request #225 from YunoHost-Apps/NGINX-conf

set to 127.0.0.1 instead of localhost
This commit is contained in:
Éric Gaspar 2023-01-03 08:26:20 +01:00 committed by GitHub
commit a1b7e45997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -10,5 +10,5 @@ location ~ ^/(media|proxy) {
proxy_buffering on;
chunked_transfer_encoding on;
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
}

View file

@ -7,7 +7,7 @@ location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
client_max_body_size 50M;