NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question :80 after my domain
Started by OtteS

OtteS

OtteS

Member
Joined
29 Mar 2023
Last Seen
31 Mar 2023
Topics
1
Posts
1

Hello! I have a problem with my site, it always puts behind my domain :80, this is very inconvenient because it doesn't exist. It is especially annoying with Discord-Login. How do I adjust it?

 

OtteS · about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076

Hi,

It is related to your web server configuration, and as it is not something which I fully understand, I will paste the following from our Discord support bot:

Ensure that if you are using Cloudflare (with proxy enabled), the TLS mode is set to "Full (strict)". It may be set to Flexible which is not secure, as traffic to the web server is unencrypted.

If you are running your own proxy, it needs to send appropriate proxy headers so NamelessMC knows which protocol and port to use. An example for NGINX:

proxy_set_header X-Forwarded-For       $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto     $scheme;
proxy_set_header X-Forwarded-Port      $server_port;

Please note that this configuration should be placed in the proxy webserver, not the NamelessMC web server!

Samerton · about 1 year ago