Skip to content

Better test if server has public address#2010

Merged
Alkarex merged 2 commits intoFreshRSS:devfrom
Alkarex:better-public-server-test
Sep 8, 2018
Merged

Better test if server has public address#2010
Alkarex merged 2 commits intoFreshRSS:devfrom
Alkarex:better-public-server-test

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Sep 8, 2018

No description provided.

@Alkarex Alkarex added this to the 1.11.2 milestone Sep 8, 2018
@Alkarex Alkarex merged commit aafb1cd into FreshRSS:dev Sep 8, 2018
@Alkarex Alkarex deleted the better-public-server-test branch September 8, 2018 22:50
Alkarex added a commit that referenced this pull request Sep 8, 2018
return $is_public;
}
if ($is_public) {
$ip = gethostbyname($host);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work as expected when FreshRSS is in a container (e.g. Træfik + Docker). Will fix.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with #2084

mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
* Better test if server has public address

* Wrong trailing slash in documentation
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant