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:
parent
c96558f5f2
commit
3440887d43
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/stream {
|
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 Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ location __PATH__/stream {
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
proxy_pass http://localhost:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "A simple server for sending and receiving messages.",
|
"en": "A simple server for sending and receiving messages.",
|
||||||
"fr": "Un simple serveur pour envoyer et recevoir des 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",
|
"url": "http://gotify.net",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue