1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

fix listen address

This commit is contained in:
Clément 2019-05-30 18:43:23 +02:00
parent c96558f5f2
commit 3440887d43
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/stream {
proxy_pass http://localhost:__PORT__/stream;
proxy_pass http://127.0.0.1:__PORT__/stream;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@ -17,7 +17,7 @@ location __PATH__/stream {
}
location __PATH__/ {
proxy_pass http://localhost:__PORT__/;
proxy_pass http://127.0.0.1:__PORT__/;
proxy_set_header Host $host;
proxy_buffering off;
fastcgi_param REMOTE_USER $remote_user;

View file

@ -6,7 +6,7 @@
"en": "A simple server for sending and receiving messages.",
"fr": "Un simple serveur pour envoyer et recevoir des messages."
},
"version": "2.0.5~ynh1",
"version": "2.0.5~ynh2",
"url": "http://gotify.net",
"license": "MIT",
"maintainer": {