YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 36 forks source link

Fix nginx.conf for multi-instance #223

Closed Tagadda closed 4 years ago

Tagadda commented 4 years ago

Problem

nginx.conf uses hardcoded port numbers.

Solution

Use __PORT_WEB__ and __PORT_STREAM__ in nginx.conf.

PR Status

yalh76 commented 4 years ago

Thanks a lot. Good catch. All the code was ready made to not have hard coded ports...

https://github.com/YunoHost-Apps/mastodon_ynh/blob/6b30109fc986d83166b1805ec3ad7e28200e3743/scripts/install#L121-L122