Skip to content

Node configuration changes remote to http behind reverse proxy with SSL termination #3995

Description

@Ionic97

Current Behavior

I'm running 2 machines: Panel (play.example.com) & seperate Wing (Wing01.example.com) both behind a NGINX reverse proxy with SSL termination. Panel & Wing communicate over SSL, the panel webserver is set up without SSL.

The following is modified in /var/www/pterodactyl/.env:
APP_URL="https://play.example.com" (note https instead of http)

When creating a node in the panel the following settings were choosen:

Communicate Over SSL: true
Behind Proxy: true

The resulting configuration looks like the following:

debug: false
uuid: ---
token_id: ---
token: ---
api:
  host: 0.0.0.0
  port: 8080
  ssl:
    enabled: false
    cert: /etc/letsencrypt/live/ptwings01.gslabnet.org/fullchain.pem
    key: /etc/letsencrypt/live/ptwings01.gslabnet.org/privkey.pem
  upload_limit: 100
system:
  data: /var/lib/pterodactyl/volumes
  sftp:
    bind_port: 2022
allowed_mounts: []
remote: 'http://play.example.com'

If changed in the config.yml, updating the node settings via the panel, it also overwrites the remote location back to http://play.example.com

Expected Behavior

remote: should reflect the setting of the Pterodactyl panel environment and be correctly applied with https via panel settings and in the configuration file template.
Alternatively, modifications of the remote: line in config.yml shouldn't be overwritten when using the panel settings.

Steps to Reproduce

see above

Panel Version

1.7.0

Wings Version

1.6.1

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions