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:
commit
a1b7e45997
2 changed files with 2 additions and 2 deletions
|
@ -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__;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue