diff --git a/conf/nginx.conf b/conf/nginx.conf index ccc0741..3770705 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; diff --git a/manifest.json b/manifest.json index 234e117..1e9877e 100644 --- a/manifest.json +++ b/manifest.json @@ -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": {