Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Hostname issue #6

Open
jesperbakhandskemager opened this issue Apr 2, 2020 · 2 comments
Open

Hostname issue #6

jesperbakhandskemager opened this issue Apr 2, 2020 · 2 comments

Comments

@jesperbakhandskemager
Copy link

When not having a gophermap file, and simply refer to a directory the directory will load fine.
But when trying to download something from the directory, it redirects users to the hostname of the server instead of the domain name.

Is there a way to fix this? I couldn't find anything in the config.

@qunka
Copy link
Contributor

qunka commented Apr 19, 2020

The servername option in pygopherd specifies the domain name added to internal links. This option does not specify where the server listens, only how internal links should be handled.

@tomowad
Copy link

tomowad commented Feb 27, 2021

This happens if the FQDN is not set correctly in /etc/hosts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants