ccarney16 / pterodactyl-containers

Pterodactyl Panel within a docker container
230 stars 78 forks source link

Unsure if and where you can edit the nginx default.conf #129

Open yingenpass opened 2 years ago

yingenpass commented 2 years ago

Like many before me I try to put the panel behind a nginx reverse proxy. The panel is now accessible through the proxy, unfortunately I am now running into the popular 'mixed content' problem which can apparently only be worked around by editing the nginx configurations (Whether this is true or not remains to be seen). I've been trying to figure out how to edit this configuration for a while now, but I seem to be too blind, too stupid or both to accomplish this feat.

I have already tried to overwrite the file via the Docker volumes, unfortunately without success since they are read-only.

Now I have the hope that maybe someone here can help me. Thanks in advance.

Edit: The part about read-only is bullshit, if I mount a custom file it will simply be overwritten with what is loaded inside of the image.

ccarney16 commented 2 years ago

the default.conf file gets overwritten based on a very basic template system on startup. you are free to change the tmpl files and build it (bin/deploy has a --build arg)